optimize-moduleid-and-chunkid-plugin
v1.1.0
Published
Make module id and chunk id fixed and changeless when add or remove modules
Downloads
70
Readme
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');
/***/ }
]);