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'm unsure where this problem stems from, but if I have a LESS file that doesn't result in any CSS output, then try compiling it using this gulp plugin, with sourcemaps, the LESS parser starts complaining about unexpected output u. E.g:
some-tag {
// This will result in an empty output file
}
$ gulp css:dev
[09:37:35] Using gulpfile gulpfile.js
[09:37:35] Starting 'css:dev'...
node_modules/gulp-less/node_modules/less/lib/less/parser/parser.js:183
return callback(null, root);
^
SyntaxError: Unexpected token u
at Object.parse (native)
at node_modules/gulp-less/node_modules/accord/lib/adapters/less.js:48:32
at node_modules/gulp-less/node_modules/less/lib/less/parse.js:63:17
at Object.finish [as _finish] (node_modules/gulp-less/node_modules/less/lib/less/parser/parser.js:183:28)
at Object.ImportVisitor._onSequencerEmpty (/node_modules/gulp-less/node_modules/less/lib/less/visitors/import-visitor.js:35:14)
at ImportSequencer.tryRun (node_modules/gulp-less/node_modules/less/lib/less/visitors/import-sequencer.js:50:14)
at Object.ImportVisitor.run (node_modules/gulp-less/node_modules/less/lib/less/visitors/import-visitor.js:29:25)
at Object.Parser.parse (node_modules/gulp-less/node_modules/less/lib/less/parser/parser.js:189:22)
at Object.parse (node_modules/gulp-less/node_modules/less/lib/less/parse.js:61:18)
Every will start working when taking away the sourcemap integration.
The text was updated successfully, but these errors were encountered:
I'm unsure where this problem stems from, but if I have a LESS file that doesn't result in any CSS output, then try compiling it using this gulp plugin, with sourcemaps, the LESS parser starts complaining about unexpected output
u
. E.g:Every will start working when taking away the sourcemap integration.
The text was updated successfully, but these errors were encountered: