Comments (7)
"无法运行"四个字包含无限可能
from decent-messup.
一样的代码
const transform = require('gulp-transform');
const messup = require('decent-messup');
gulp.task('quadruple', function() {
return gulp.src('src/*.js')
.pipe(transform(code => messup(code,{headCnt:5,es6:true})))
.pipe(gulp.dest('dist'));
});
[09:08:47] Using gulpfile D:\work\gul
[09:08:47] Starting 'default'...
[09:08:47] Starting 'cssmin'...
[09:08:47] Finished 'cssmin' after 6.
[09:08:47] Starting 'minhtml'...
[09:08:47] Finished 'minhtml' after 8
[09:08:47] Starting 'minjs'...
[09:08:47] Starting 'quadruple'...
[09:08:47] Finished 'default' after 1
[09:08:47] Finished 'quadruple' after
[09:08:47] Finished 'minjs' after 556
文件夹都没有生成出来
from decent-messup.
windows的/方向不同吧?
from decent-messup.
var ch = this.input.charCodeAt(this.state.pos);
^
TypeError: this.input.charCodeAt is not a function
from decent-messup.
我代码里没这段
from decent-messup.
好吧,谢谢
from decent-messup.
@willyang90 原因是transform插件更新了api, 我更新了readme的demo
from decent-messup.
Related Issues (3)
- gulp下面使用好像有问题 HOT 5
- There is a problem in README HOT 1
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 decent-messup.