Comments (6)
还是@errorrik 看看吧,我也不知道当时是怎么考虑的?
from edp-build.
原来的编译过程有这么个情况:对于模块main
- 先扫到它时把它编译了
- 后来扫到index.html,发现main需要combine,然后重新以combine模式编译
这时候就需要走rawData
from edp-build.
那回归问题的本质,在Compiler处理以前对module做的自动化的修改,有什么办法保留下来呢?毕竟通过build脚本生成重复性代码对项目效率提升很有帮助,要去分析编译完的模块太困难了
from edp-build.
现在可以不走rawData了。自动扫瞄入口模块并合并这事已经取消了。现在想要让一个模块合并,需要在module.conf里面配
from edp-build.
看来用data
是可以的?你给改了呗,不熟悉整个代码我怕改漏了……
from edp-build.
就这一个地方而已...
from edp-build.
Related Issues (20)
- 增加处理器缓存支持能力,提升构建速度
- file-info 模块单独提取出来便于扩展依赖使用 HOT 1
- replace-tag-attribute 在特定情况下不符合预期 HOT 1
- 模块编译在有`define`声明的情况下修改脚本导致错误 HOT 3
- HTML minifier 提示找不到模块 HOT 2
- module processor在combine配置文件的时候报错 HOT 1
- html-minifer 内置 etpl customAttrSurround 配置 HOT 1
- babelProcessor 需要改用babel-core以支持babel6
- 增加JsCompressor的利用多核CPU的能力
- 一个自动化打包构建的思路 HOT 1
- v1.2.0+ 版本build后有保留字的内容不会特殊处理
- less-compiler的bug or feature? HOT 2
- pathMapper issue
- 编译less丢失css私有前缀
- PathMapper中对amdConfig的对象的eval带来的副作用
- JsCompressor 能不能支持下 es6?
- md5-renamer 遇到带空格的路径,没有去空格导致windows下输出错误 HOT 1
- ModuleCompiler处理paths的时候,需要支持 https? 的配置
- babel-processor和tpl-merge配合使用的问题 HOT 4
- 项目引用less > 2.0.0,LessCompiler的relativeUrls没有效果
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from edp-build.