Replies: 1 comment 1 reply
-
you should use rspack.DefinePlugin or rsbuild source.define configuration instead of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
[webpack-dev-middleware] [Error: × TypeError: Cannot read properties of undefined (reading 'set')
│ at Object.fn (D:\project\yka\yka-admin-v2\node_modules\webpack\lib\DefinePlugin.js:359:37)
│ at SyncHook.callAsyncStageRange (D:\project\yka\yka-admin-v2\node_modules@rspack\lite-tapable\dist\index.js:240:21)
│ at SyncHook.callStageRange (D:\project\yka\yka-admin-v2\node_modules@rspack\lite-tapable\dist\index.js:259:14)
│ at QueriedHook.call (D:\project\yka\yka-admin-v2\node_modules@rspack\lite-tapable\dist\index.js:218:26)
│ at D:\project\yka\yka-admin-v2\node_modules@rspack\core\dist\Compiler.js:570:244
│ at last.function (D:\project\yka\yka-admin-v2\node_modules@rspack\core\dist\Compiler.js:860:28)
│
] {
code: 'GenericFailure'
}
vue3
vue-cli迁移rsbuild后报如上错误,不清楚是什么原因,求解
Beta Was this translation helpful? Give feedback.
All reactions