preact-cli-decss

0.0.1 • Public • Published

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

Copyright 2018 by Stijn de Witt. Some rights reserved.

License

Licensed under the MIT Open Source license.

Package Sidebar

Install

npm i preact-cli-decss

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

7.95 kB

Total Files

6

Last publish

Collaborators

  • stijndewitt