The standard PostCSS config for ET projects
Includes:
npm i reach-et-postcss-config --save-dev
Create a postcss.config.js file and add the following
/* eslint-env node */
const postConfig = require('@trinitymirrordigital/postcss-config');
module.exports = postConfig;
test('my component button has a css class', ()=>{ const myComponent = document.querySelector('my-component'); expect(myComponent).toHaveShadowClass('button', 'my-css-class'); })
Copyright (c) 2019 "Reach Shared Services Ltd"