CTSJ-BUILD

A webpack packaging tool

.startapp

Developed form of operation

Options:

.buildapp

Production environment packaging

Options:

.buildumd

Production environment umd package

Options:

.buildpackage

Packaged into npm package

Options:

.buildpackagets

Packaged into npm package use typescript

Options:

.ctbuild.config.js

Webpack configuration file, use default configuration if no configuration is possible

code
    
module.exports = {
  getConfig({ webpack,curModule,plugins }) {

  },
};
    
  

.The user can perform a merge operation on the curModule, all operations are webpack configuration items, and finally return,Note that if you use webpack objects and plugins, you need to use the values provided by the webpack and plugins provided in the parameters.

.defaultSetting