Comments (7)
感谢反馈,两个问题已经修复。正在同步中...
配置文件 .tmtworkflowrc 有开放啊,你说的配置文件是???配置是支持项目化的,比如你截图里面的 .tmtworkflowrc 是在根目录下,那么,当项目(actvi 或 temp �)下都没有 .tmtworkflowrc 时,是直接读取的全局,如果具体项目下有配置文件,则读取的是项目下的配置,达到不同项目不同配置。
插件则全部放在 _tasks/plugins 下面,只要不同配置调用不同的插件即可。
from tmt-workflow.
。。。我测试下下我改的。
from tmt-workflow.
可以给我们提 pr 哦
这里返回的是相对路径,而且需要替换的目录肯定是在第一位,可以直接 replace(/src/, 'dev') ,所以可以直接把 src 替换,不用写很多哈
from tmt-workflow.
之前想过 replace(/src/, 'dev')这样改,感觉不够严谨。。
from tmt-workflow.
正则替换这里只会替换第一个找到的,即使你后面文件名有 src 关键字,也不会替换,所以还好
from tmt-workflow.
你只用正则改了img的,其它的都是字串。
from tmt-workflow.
呃。。。那等过两天我加个新功能一起更新一下吧
from tmt-workflow.
Related Issues (20)
- 关于目录结构 HOT 2
- px -> rem: 视觉稿默认宽度为什么不是 750px? HOT 2
- 目前微信仍然使用吗 HOT 1
- 适配node 8.0 以上版本 HOT 1
- node-sass error HOT 1
- build-dist reversion 报错 HOT 1
- EJS include 无效 HOT 3
- npm install 报错 HOT 2
- 希望能增加ES6转es5的功能 HOT 1
- 如何将index.html 提到 html 目录之外 HOT 1
- 修复雪碧图一倍的时候,修改html:font-size != 20px,时,雪碧图位置显示不正确。 HOT 4
- 修改项目构建生成时的模板 HOT 1
- 请教下1.5.7中,如果js目录中有插件(含样式图片)的话,dev和dist命令改如何修改? HOT 1
- bem规范介绍应该是--不是__ HOT 1
- npm install 报错 HOT 4
- 可以添加es6解析吗? HOT 1
- TypeError [ERR_INVALID_CALLBACK]: Callback must be a function HOT 3
- gulp build_dist之后样式的二级目录都没有了 HOT 1
- 需要给页面传参,引入了gulp-data这样写结果报错
- 关于BEM规范 HOT 2
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 tmt-workflow.