You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just ran into this syntax error with sassify. Perhaps its sassify or its dependencies, but I see a similar issue here. And I'm wondering if I need to do yet another transform on the css output from sassify in order to jive with browserify?
Here's my whole task
varbrowserify=require('browserify');vargulp=require('gulp');varsource=require("vinyl-source-stream");vardebug=require('gulp-debug');varbabelify=require('babelify');varsassify=require('sassify');gulp.task('browserify',function(){//init browserify with entry and transformvarb=browserify({"debug": true,"extensions": [".jsx",".scss"]}).transform(babelify).transform(sassify,{'auto-inject': false,base64Encode: false,sourceMap: false});b.add('server/middleware/react.js');b.bundle().pipe(source('index.js'))//read docs for source, index.js is placeholder.pipe(process.stdout);//return source('server/middleware/react.js')// .pipe(debug());});
Update: I think this may be because of a jpg that was required somewhere in the pipeline. I was able to filter out some of them with this transform placed before sassify.
I just ran into this syntax error with sassify. Perhaps its sassify or its dependencies, but I see a similar issue here. And I'm wondering if I need to do yet another transform on the css output from sassify in order to jive with browserify?
Here's my whole task
throws:
source:
The text was updated successfully, but these errors were encountered: