optimize-moduleid-and-chunkid-plugin

    1.1.0 • Public • Published

    optimize-moduleid-and-chunkid-plugin

    Optimize module id and chunk id , and changeless when add or remove modules.

    Usage

    Install via npm:

    npm install optimize-moduleid-and-chunkid-plugin

    And then require and provide to webpack:

    // in webpack.config.js or similar
    var OptimizeModuleIdAndChunkIdPlugin = require('optimize-moduleid-and-chunkid-plugin');
     
    module.exports = {
      //...
      plugins: [
        new OptimizeModuleIdAndChunkIdPlugin()
      ]
      //...
    };

    After builded:

    webpackJsonp(["course/manage/list"],[
    /* 0 */
    /***/ function(module, exports, __webpack_require__) {
     
        'use strict';
     
        __webpack_require__("9ba58fe4941a24a87be7");
     
        console.log('course manage list.jsx');
     
    /***/ }
    ]);

    Install

    npm i optimize-moduleid-and-chunkid-plugin

    DownloadsWeekly Downloads

    24

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • lileiseven
    • codeages-admin