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

怎么引入新的插件webpack #4591

Closed
JasonLxn opened this issue Sep 1, 2021 · 6 comments
Closed

怎么引入新的插件webpack #4591

JasonLxn opened this issue Sep 1, 2021 · 6 comments

Comments

@JasonLxn
Copy link

JasonLxn commented Sep 1, 2021

采用的是ice.js 1.0.0版本,在项目中想引入monaco-editor-webpack-plugin,但是试了文档很多种办法都没有效果,请问需要怎么引入

@luhc228
Copy link
Collaborator

luhc228 commented Sep 1, 2021

可以参考这里
https://ice.work/docs/config/about#webpackplugins

@JasonLxn
Copy link
Author

JasonLxn commented Sep 1, 2021

可以参考这里
https://ice.work/docs/config/about#webpackplugins

image
不行,报错了

@ClarkXia
Copy link
Collaborator

ClarkXia commented Sep 1, 2021

提供下具体的版本信息和 build.json 配置,看是不是版本被锁定了,另外也可以参考 #3179 (comment)

@JasonLxn
Copy link
Author

JasonLxn commented Sep 1, 2021

提供下具体的版本信息和 build.json 配置,看是不是版本被锁定了,另外也可以参考 #3179 (comment)

用#3179的办法可以,谢谢啦,这是版本信息
image

@ClarkXia
Copy link
Collaborator

ClarkXia commented Sep 2, 2021

最新版本的 icejs  应该是支持 webpackPlugins  字段的,可以确认下最终安装版本

@ClarkXia ClarkXia closed this as completed Sep 2, 2021
@JasonLxn
Copy link
Author

JasonLxn commented Sep 2, 2021

最新版本的 icejs  应该是支持 webpackPlugins  字段的,可以确认下最终安装版本

更新最新版icejs时飞冰其他结构的依赖的版本也需要更新吗

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