Skip to content
This repository has been archived by the owner on May 14, 2018. It is now read-only.

Sourcemaps not working #70

Open
thany opened this issue Jun 17, 2016 · 0 comments
Open

Sourcemaps not working #70

thany opened this issue Jun 17, 2016 · 0 comments

Comments

@thany
Copy link

thany commented Jun 17, 2016

Sourcemaps aren't being outputted when I use amd-optimize. When I leave it out, sourcemaps work fine.

return gulp.src(['source/js/**/*.js'])
    .pipe(sourcemaps.init())
      .pipe(amdOptimize('js/main', config))  //<-- comment to get sourcemaps to work
      .pipe(concat('main.js'))
    .pipe(sourcemaps.write('./'))
    .pipe(gulp.dest('source/js/main'));
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant