knpwrs / vue-node

Load vue components in node.
MIT License
61 stars 5 forks source link

Should respect existing `resolve.modules` config if it exists #10

Closed chrisnicola closed 7 years ago

chrisnicola commented 7 years ago

vue-node is overwriting resolve.modules if there is a NODE_PATH value found. This limits configuration options. It would be good if the supplied configuration would be respected.

I am currently using this with Nuxt, Avoriaz and Tape and I have a lib folder that I am including as a module folder.

knpwrs commented 7 years ago

I'll accept a pull request to fix the issue but please note that this library is pending deprecation. See README.md for more info.

chrisnicola commented 7 years ago

Yes I saw that. Interestingly I am using Avoriaz, but the guidance for using that still requires vue-node to work with Tape. Is there a better approach to handling this that I should be using.

chrisnicola commented 7 years ago

So I built this to handle webpacking test scripts in a bit more generic way http://github.com/WealthBar/wprun.

I'll close this now.