0.10.1 • Published 6 years ago

@coco-platform/webpack-preset v0.10.1

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

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 compile typescript source code, make sure .babelrc work as expected.

Licence

MIT