preact-cli-plugin-atomizer
v1.0.1
Published
Use the atomic css atomizer with preact-cli
Downloads
6
Maintainers
Readme
preact-cli-plugin-atomizer
Install
in your preact-cli app:
$ yarn add -D preact-cli-plugin-atomizer
Usage
in preact.config.js
, pass your atomizer loader config:
import atomizer from 'preact-cli-plugin-atomizer';
export default (config, env, helpers) => {
atomizer(
config,
env,
helpers,
{
test: /\.jsx?$/,
configPath: './yourAtomicConfig.js',
}
);
};
License
MIT © Vince Speelman