I\'m looking for information on how to delete old webpack chunked files. Here is my current webpack configuration:
var path = require(\'path\'); var webpack
There is a clean-webpack-plugin for those purposes, or you can write a simple bash script for npm:
bash
npm
"scripts": { "build": "rm -r dist/* && webpack -p", "clean": "rm -r dist/*" }