1.0.1 • Published 6 years ago

preact-cli-plugin-atomizer v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

preact-cli-plugin-atomizer Build Status

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