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
gulp.task("default",function(){process.env.NODE_ENV="release";return(gulp.src("./src/lazyload.js").pipe(sourcemaps.init()).// ----------- linting --------------pipe(eslint()).pipe(eslint.format()).pipe(eslint.failAfterError()).// --> failing if errors// ----------- rolling up --------------pipe(rollup({plugins: [babel()]},[{file: "dist/lazyload-es2015.js",format: "es"},{file: "dist/lazyload-amd.js",format: "amd"},{file: "dist/lazyload-umd.js",format: "umd"}])).pipe(sourcemaps.write("")).pipe(gulp.dest(destFolder)));});
And I noticed that it only outputs the 1st and the 3rd output format.
I've tried to invert the order of the amd and the umd one, and it always outputs the last, ignoring the 2nd.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Hello,
I'm doing the following:
And I noticed that it only outputs the 1st and the 3rd output format.
I've tried to invert the order of the
amd
and theumd
one, and it always outputs the last, ignoring the 2nd.What am I doing wrong?
The text was updated successfully, but these errors were encountered: