1.8.2 • Published 3 years ago
reach-et-postcss-config v1.8.2
reach-et-postcss-config
The standard PostCSS config for ET projects
Includes:
Install
npm i reach-et-postcss-config --save-dev
Setup
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"