[WIP]chore: add compileDependencies default value#47
Open
[WIP]chore: add compileDependencies default value#47
Conversation
Contributor
|
要不要默认升级到 webpack 5? |
Contributor
Author
还没完全验证过,下周看下吧 |
imsobear
reviewed
May 13, 2021
scaffolds/app-ts/src/app.json
Outdated
| "title": "Rax App" | ||
| }, | ||
| "builtInLibrary": { | ||
| "lib-mtop": false |
Contributor
There was a problem hiding this comment.
外部用户会不会困惑,def 的逻辑是放在 generate 里处理的
Contributor
|
compileDependencies 增量用户为 [] 这个是什么背景? |
Contributor
Author
对于 Rax 用户而言,全量编译 node_modules 解决的是两个问题:1. 移除其它端的冗余代码,后续会推使用 |
Contributor
|
@SoloJiang 有个背景是现在很多包不规范,预先没编译,这样切换还是有之前的风险在,这个点怎么考虑?开发时有这样的情况给开发者提示下然后让他加到 compileDependencies 里? |
Contributor
Author
先 hold 吧,我测试下这个插件能不能在构建时提示:https://github.com/bitjourney/check-es-version-webpack-plugin |
Contributor
|
@SoloJiang 这块还是要把策略想好,比如:
短期要规避问题,长期要推进这些包的标准化。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
compileDependencies增量用户为[]