Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow overriding or removing webpack plugins #98

Open
kdabir opened this issue May 18, 2022 · 0 comments
Open

feat: Allow overriding or removing webpack plugins #98

kdabir opened this issue May 18, 2022 · 0 comments

Comments

@kdabir
Copy link
Member

kdabir commented May 18, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant