0.0.9 • Published 6 years ago

webpack-plugin-amd2cmd v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Webpack Plugin - Amd2Cmd

A webpack plugin - Transfer amd bundle to cmd.

Usage

const Amd2Cmd = require('webpack-plugin-amd2cmd');

module.exports = {
  entry: {
    // ...
  },
  output: {
    // ...
  },
  // ...
  plugins: [
    new Amd2Cmd({
      groupName: "GROUPNAME",
      modName: "MODNAME",
      dealDeps: function(deps, bundleName) {
        // saveDeps()
      }
    })
  ],
}

Attention

  • Using amd2cmd plugin with webpack.optimize.UglifyJsPlugin, the result have some problem;
  • Maybe the result is relative to the version of webpack, if there is a problem, please modify the replace REG

License

MIT License.

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago