Skip to content

Commit

Permalink
fix(*): disable sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
imcvampire committed Feb 1, 2021
1 parent 400e582 commit 972df18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ gulp.task('build', async function () {
const streams = data.map((name) => {
return file(name, generatedBundle.output.map(o => o.code).join(" "), { src: true })
.pipe(plumber())
.pipe(sourcemaps.init())
// .pipe(sourcemaps.init())
.pipe(f)
.pipe(uglify())
.pipe(sourcemaps.write('./'))
// .pipe(sourcemaps.write('./'))
.pipe(gulp.dest(buildPath));
});

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-axios",
"version": "3.2.3",
"version": "3.2.4",
"description": "A small wrapper for integrating axios to Vuejs",
"main": "dist/vue-axios.es5.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 972df18

Please sign in to comment.