-
```ts
parser.hooks.new.for('imported var').tap(NAME, expr => {
if (expr.callee.name !== 'Worker') return false
```
Can be changed to this, because `'imported var'` is not s…
-
第2036天 webpack5有哪些新特性?
[3+1官网](http://www.h-camel.com/index.html)
[我也要出题](http://www.h-camel.com/contribution.html)
-
```
yarn run v1.22.22
$ /home/lord/tmp/minimal-webpack5-wasm-demo/node_modules/.bin/webpack serve
node:internal/crypto/hash:79
this[kHandle] = new _Hash(algorithm, xofLen, algorithmId, getHashCa…
-
### 🧐 问题描述
Node:18.17.0
Webpack:5.95.0
JS编译配置信息:
```
rules: [
/* config.module.rule('js') */
{
test: /\.(j|t|mj)sx?$/,
type: 'javascript/auto',
include: […
-
ERROR in ../../node_modules/antd/lib/button/style/index.css
Module build failed (from ../../node_modules/mini-css-extract-plugin/dist/loader.js):
Error: You forgot to add 'mini-css-extract-plugin' p…
-
### 相关平台
微信小程序
**小程序基础库: 3.6.5**
**使用框架: React**
### 复现步骤
打包@redux/toolkit后微信开发工具出现 vendors.createSlice is not a function 错误,打开common.js和vendor.js存在循环引用
![image](https://github.com/us…
-
webpack5 support would be awesome. Storybook supports it. It would be beneficial for performance and new features. E.g. conditional chaining operator which is required by alpinejs v3.
-
I got the following warning when I used this loader with webpack@5, but it worked fine without the exception of `options passed as query string`.
```
npm WARN ejs-html-loader@4.0.1 requires a peer o…
naoak updated
2 years ago
-
## Summary
Pretty simple, #68 doesn't work in Webpack5 / NextJS. Fails at import requiring `fs`.
## Reproduction
```ts
import { saveAs } from 'file-saver'
import HTMLtoDOCX from 'html-to-do…
-
Thanks for the project! I tried to use this plugin in Webpack 5 using the example in the README, but unfortunately it doesn't work with the following error message:
```
library name must be a stri…