Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 564 Bytes

Deleting Files & Directories

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 })