webpack-transfer-cmd-plugin

1.0.9 • Public • Published

webpack-transfer-cmd-plugin

complie to CMD module

Configuration

const TransferToCmdPlugin = require("webpack-transfer-cmd-plugin")
    plugins: [
        ...
        new TransferToCmdPlugin({
          entryOnly: true,    //if true, the plugin will only compile the entry chunks  (default: true)
          include_css: true,   //if ture, CSS with the same name will be added to the entry chunks(default: true)
          auto_load_depend: ''
        })
        ...
    ]

/webpack-transfer-cmd-plugin/

    Package Sidebar

    Install

    npm i webpack-transfer-cmd-plugin

    Weekly Downloads

    0

    Version

    1.0.9

    License

    ISC

    Unpacked Size

    3.92 kB

    Total Files

    3

    Last publish

    Collaborators

    • jwang