Created
November 2, 2018 09:41
-
-
Save wufe/ec0b817bfae608239fb5d19700d02323 to your computer and use it in GitHub Desktop.
Parcel on visual studio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require("gulp"), | |
shell = require("gulp-shell"); | |
gulp.task("build-parcel:compile", shell.task("parcel build wwwroot/js/site.js", { cwd: __dirname })); | |
gulp.task("build-parcel:watch", function(){ | |
gulp.watch([ | |
"wwwroot/**/*.js", | |
"wwwroot/**/*.vue", | |
], ["build-parcel:compile"]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment