PostCSS config for ET Tools
The standard PostCSS config for ET projects
Includes:
- postcss-import
- postcss-flexbugs-fixes
- postcss-preset-env
```
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"