Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including webpackdelchunkfile with all npm packages installed. Try it out:

var webpackdelchunkfile = require("webpackdelchunkfile")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

webpackdelchunkfile v1.1.1

webpack 打包后生成包涵hash的文件,这样会导致build目录中包涵很多类似文件 例如入口文件为index1,index2,index3生成含有hash的文件为 index1.hash.js,index2.hash.js,index3.hash.js 由于hash不同所以build中会包涵很多文件.通过该plugin会删除较老的文件.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free