vuejs / vueify

Browserify transform for single-file Vue components
MIT License
1.17k stars 152 forks source link

Support .babelrc in subdirectory? #193

Open timwis opened 7 years ago

timwis commented 7 years ago

My project has a server/ dir and a client/ dir. I only need transpiling on the client app, and of course that's where I need vueify. But my package.json is in the root directory. When I run browserify (pointed to client/src/main.js) I get an error about babel-preset-es2015 not being installed, suggesting I add a .babelrc file. But I do have one -- it's just in the client directory. My understanding is that's what the babel team recommends (because I may need different transpiling for the server directory).

Am I doing something wrong, or is this simply not supported?

Thanks!