This repository has been archived by the owner on Dec 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
Upgrading vueify from 9.0.0 to 9.3.0 breaks browserify template #162
Comments
thomas07vt
added a commit
to thomas07vt/vueify
that referenced
this issue
Feb 23, 2017
options._flags is not always set when using browserify transformations - version affected: "vueify": "^9.4.0" Example of failure in gulp file ```javascript // package.json gulp.task('all', function() { process.env.NODE_ENV = 'production'; return browserify('./source/js/all.js') .transform(babelify.configure({ presets: ["es2015"]})) .transform(vueify) .bundle() .pipe(source('./js/all.js')) .pipe(buffer()) .pipe(rev()) .pipe(gulp.dest(pub)) .pipe(rev.manifest('./build/rev-manifest.json', { base: '', merge: true })) .pipe(gulp.dest('.')); }); ``` ```bash $ gulp all [19:15:56] Using gulpfile ~/gulpfile.js [19:15:56] Starting 'all'... code/node_modules/vueify/index.js:12 sourceMap: options._flags.debug ^ TypeError: Cannot read property 'debug' of undefined at vueify (code/node_modules/vueify/index.js:12:30) ```
This issue still seems to exist - a downgrade to 9.0.0 fixes this. |
I have this issues as well, using the latest version. |
Is 7a9c05d merged in latest release ? I still have the issue
Manually changing |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
https://github.com/vuejs-templates/browserify
Gives the same error as per using gulp with latest version, #138, so it is a breaking change that seems not the fault of the other tool. Therefore fixing this will fix both of these issues.
The text was updated successfully, but these errors were encountered: