Webpack: Plug it in
Perficient
JANUARY 3, 2023
For now we don’t have any options defined within the parentheses, ie: new CleanWebpackPlugin({ options go here}). Finally, we need to add this to our plugins array in our config file: plugins:[ new CleanWebpackPlugin() ]. But there are ways to include other folders besides “dist” or to keep certain files.
Let's personalize your content