-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
ice-scripts 增加run dev的时候输出编译后到资源到lib目录 #2844
Comments
一般场景下在开发组件的时候借助 demo 的能力进行联调,如果要在 dev 的时候输出到 lib,本质上是走watch 文件变更 然后 run build。 |
link 的场景需要 watch (src -> lib),应该是这个需求 |
是这个意思 |
This was referenced Oct 17, 2019
已支持,ice-plugin-component 支持 watch 参数开启监听: module.exports = {
injectBabel: 'runtime',
publicPath: './',
plugins: [
'ice-plugin-fusion',
['ice-plugin-component', {
watch: true,
}],
['ice-plugin-moment-locales', {
locales: ['zh-cn'],
}],
],
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ice-scripts在dev的时候不会编译输出到lib目录,在需要npm link 联调的场景很不方便,而每次run build 需要大量的时间。 希望支持。
The text was updated successfully, but these errors were encountered: