webpack-5 Questions
2
I've been playing around with this module federation example, where the setup is relatively straightforward - a host is consuming a module from a remote with a shared react dependency. When running...
Portend asked 8/1, 2021 at 18:9
0
In a Electron-React-Typescript app I'm getting this error:
Automatic publicPath is not supported in this browser
devDependencies in package.json :
"css-minimizer-webpack-plugin": "^1...
Becharm asked 15/2, 2021 at 17:46
3
Solved
I am working on a react project and when I updated webpack 4.44.2 to 5.4.0 I am getting the following message:
[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen...
0
According to the Angular Package Format document, Angular packages are distributed as two kinds of ES modules:
Flattened ES modules (FESM), where the import statements are removed and the imported...
Fireworm asked 21/1, 2021 at 4:30
1
Solved
I'm in the middle of upgrading my personal plugins to Webpack5, and while things are going smooth; I've been trying to wrap my head around how to properly change the source of a asset mid build.
I'...
Olsewski asked 2/1, 2021 at 0:37
1
Solved
I previously saved the [hash] value of webpack to a meta.json file:
class MetaInfoPlugin {
constructor(options) {
this.options = { filename: 'meta.json', ...options };
}
apply(compiler) {
com...
3
Solved
I am the maintainer of external-svg-sprite-loader and I noticed that when using it with webpack 5 I get the following warning:
[DEP_WEBPACK_CHUNK_MODULES_ITERABLE] DeprecationWarning: Chunk.modules...
1
Solved
I'm working on a new project using Angular 11 and Webpack 5. I am basing my work on Manfred Steyer's Module Federation Plugin Example repo, which uses Angular CLI. I can't figure out how to share a...
Ossie asked 23/10, 2020 at 13:53
2
Solved
As announced in Webpacks 5.0 release blog post build still works in most browsers after a few minor adjustments in webpack.config.js.
But it stopped working in Internet Explorer (11) because the ge...
Dahl asked 22/10, 2020 at 8:53
1
Solved
Setting up a simple Middleman app utilizing webpack 5, but getting this invalid configuration object error:
[webpack-cli]
Invalid configuration object. Webpack has been initialized using a configur...
© 2022 - 2024 — McMap. All rights reserved.