preact-cli-decss

Preact CLI configuration plugin for DeCss

3
0
3
JavaScript
public

preact-cli-decss

Preact CLI configuration plugin for decss

npm
license
travis
mind BLOWN

About

This is a configuration plugin for Preact CLI that adds the decss-loader to the underlying Webpack configuration, enabling decss awesomeness in your Preact CLI project.

Install

npm install --save preact-cli-decss

Usage

Just import the configureDecss function and use it in your preact.config.js:

import configureDecss from 'preact-cli-decss';

export default (config, env, helpers) => {
	configureDecss(config);
	// .. other config changes here
	return config;
};

Issues

Add an issue in the issue tracker
to let me know of any problems you find, or questions you may have.

Credits

Credits go to:

Copyright 2018 by Stijn de Witt. Some rights reserved.

License

Licensed under the MIT Open Source license.

v0.3.3[beta]