-
Hi there.
I use webpack5 module federation.
The compiled code didn't recognize the "vue" type correctly in "vue-demi" When I shared the "vue" module
![image](https://user-images.githubusercontent.c…
-
Hi,
I'm getting an error after upgrading to webpack5. Appears to be because of the following
https://github.com/medikoo/cli-color/blob/9072cda305181dcc64d657d4de95a813db6dbdf3/bare.js#L20
It s…
-
**Describe the bug**
We are upgrading the app to nx 13, and nx 13 seems to only support webpack5. We are getting the errors below when building the serverless app:
```
Module build failed (from ./n…
-
有没有啥兼容方案?或者其他配置替代?
-
总的来讲,很顺利。遇到唯一的问题是问题是`complier.apply is not a function`,解决方案是变更一下plugin的使用姿势
before
```js
compiler.apply(new SingleEntryPlugin(process.cwd(), hmr, pathToEntryName(absolutePath)));
```
after
`…
-
This seems to be a more advanced and actively developed fork of the package we are currently using. [See here](https://pypi.org/project/django-webpack5-loader/).
Don't want to break anything for v0.1…
-
webpack5有一项令人激动的新特性:模块联邦 module federation,看看他能做些什么
## 应用场景
可以解决跨项目的相互依赖,假设目前有两个项目 app1 和 app2,app1 想使用 app2 项目里的某个组件比如 src/components/Button.js。我们可能会将 components 拆成公共的组件库分别在 app1、app2 里引入,但是维护和…
-
`asset-modules` 的使用
```js
const path = require('path');
module.exports = {
entry: './src/index.js',
devServer: {
compress: true,
port: '8118',
static: {
dire…
-
the emssage:
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at 639c66ec-fbe5-4b92-a104-83e80b724a2e:3:27)
-
Hey,
I am using these dev dependencies as a starter project.
```
"electron": "^10.1.5",
"electron-webpack": "^2.8.2",
"webpack": "^5.2.0"
```
But the electron-webpack seems to …