@coco-platform/webpack-preset
v0.10.1
Published
A universal seed for nodejs usage.
Downloads
30
Readme
webpack-preset
A webpack presets for coco-platform.
Usage
/**
* @typedef {object} Options
*
* @property {string} entry
* @property {string} homepage
* @property {string} target
* @property {string} title
* @property {string} definition - bootcdn external sources
* @property {boolean} typescript - whether use typescript in project;
* @property {object} postcss
* @property {Array} postcss.plugins
*/
Attention
- use
babel
compiletypescript
source code, make sure.babelrc
work as expected.
Licence
MIT