Open klarkc opened 6 years ago
It seems that vueify ignores .vue files in node_modules directory, it's a desired behavior?
node_modules
Test module: https://github.com/klarkc/test-module
Steps to reproduce:
$ npm i klarkc/test-module browserify vueify
main.js:
const TestModule = require('test-module');
build.js:
const browserify = require('browserify'); const vueify = require('vueify'); let b = browserify({entries: 'main.js'}); b.transform(vueify); b.bundle();
$ node build.js
Error:
events.js:136 throw er; // Unhandled 'error' event ^ SyntaxError: Unexpected token
Expected: To bundle without errors
It seems that vueify ignores .vue files in
node_modules
directory, it's a desired behavior?Test module: https://github.com/klarkc/test-module
Steps to reproduce:
$ npm i klarkc/test-module browserify vueify
main.js:
build.js:
$ node build.js
Error:
Expected: To bundle without errors