Use the atomic css atomizer with preact-cli
npm install preact-cli-plugin-atomizer>
in your preact-cli app:
```
$ yarn add -D preact-cli-plugin-atomizer
in preact.config.js, pass your atomizer loader config:
`js
import atomizer from 'preact-cli-plugin-atomizer';
export default (config, env, helpers) => {
atomizer(
config,
env,
helpers,
{
test: /\.jsx?$/,
configPath: './yourAtomicConfig.js',
}
);
};
``
MIT © Vince Speelman