Deleting Files & Directories

Last updated 27 days ago

By default the following directories are cleaned out for each build:


If you would like to add additional directories, you can do so by configuring a new instance of the CleanWebpackPlugin:

const elixir = require("coldbox-elixir");
const CleanWebpackPlugin = require("clean-webpack-plugin");
plugins: [
new CleanWebpackPlugin(["my/custom/directory"], { root: elixir.rootPath })