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

HookWebpackError: __dirname is not defined #5483

Closed
wuwei111467 opened this issue Sep 13, 2022 · 6 comments
Closed

HookWebpackError: __dirname is not defined #5483

wuwei111467 opened this issue Sep 13, 2022 · 6 comments
Assignees

Comments

@wuwei111467
Copy link

What is the current behavior? 发生了什么?

What is the expected behavior? 期望的结果是什么?

Any additional comments? 相关环境信息?

  • ice.js Version
  • build.json Configuration
  • Node Version:
  • Platform:
@wuwei111467
Copy link
Author

"ice.js": "2.6.4",
{
"mpa": true,
"outputDir": "../dist/assets",
"publicPath": "./",
"minify": "esbuild",
"plugins": [
[
"build-plugin-fusion",
{
"themePackage": "@alifd/theme-design-pro"
}
],
[
"build-plugin-moment-locales",
{
"locales": [
"zh-cn"
]
}
],
"build-plugin-css-assets-local",
"./build.plugin.js"
]
}

@ClarkXia
Copy link
Collaborator

提供下详细的错误堆栈,已经自定义插件中的内容

@wuwei111467
Copy link
Author

image

@wuwei111467
Copy link
Author

启动 apptoolkit项目报的错

@wuwei111467
Copy link
Author

@luhc228
Copy link
Collaborator

luhc228 commented Sep 19, 2022

在 AppToolkit issue 里处理

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

3 participants