Skip to content

VinSpee/preact-cli-plugin-atomizer

Repository files navigation

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

About

Use the atomic css atomizer with preact-cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published