Skip to content

feat: Allow overriding or removing webpack plugins #98

@kdabir

Description

@kdabir

Some projects might need specific webpack plugin to be configured in a different way or completely removed. Currently, config works for 80% of the cases but becomes a roadblock for rest of the cases.

plugins: [
new CleanWebpackPlugin(),
new HtmlWebpackPlugin({
template: INDEX_HTML,
minify: {
collapseWhitespace: true,
removeComments: true
}
}),
new CopyPlugin({
patterns: [
{
from: PUBLIC,
to: DIST,
globOptions: {
ignore: ['**/index.html']
}
}
]
}),
new ForkTsCheckerWebpackPlugin(),
new CircularDependencyPlugin({
exclude: /node_modules/,
failOnError: true
}),
new CompressionPlugin(),
new Dotenv({ systemvars: true })
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions