0.1.1 • Published 8 years ago

fix-moduleid-and-chunkid-plugin v0.1.1

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

fix-moduleid-and-chunkid-plugin

Make module id and chunk id fixed and changeless when add or remove modules.

Usage

Install via npm:

npm install fix-moduleid-and-chunkid-plugin

And then require and provide to webpack:

// in webpack.config.js or similar
var FixModuleIdAndChunkIdPlugin = require('fix-moduleid-and-chunkid-plugin');

module.exports = {
  //...
  plugins: [
    new FixModuleIdAndChunkIdPlugin()
  ]
  //...
};

After builded:

webpackJsonp(["course/manage/list"],[
/* 0 */
/***/ function(module, exports, __webpack_require__) {

    'use strict';

    __webpack_require__("9ba58fe4941a24a87be7");

    console.log('course manage list.jsx');

/***/ }
]);