Open factormaarten opened 8 years ago
I guess you need this:
"browserify": {
"transform": [
"aliasify"
]
},
@NemoAlex, you are such a life saver!
@mpjraaij Does that fix it for you?
Hello Alex @NemoAlex ,
Still not working with your solution in my code, any other solution to fix this problem ? 🙁
Seems to me that aliasify does not rewrite require
calls in modules. Is that correct?
aliasify
will not transform require
calls in anything in node_modules because browserify
doesn't run transforms on node_modules by default. There's a global
option that will fix this though: https://github.com/browserify/browserify#btransformtr-opts
Hi there,
I'm using aliasify to make vue work in browserify - however it doesn't seem to reply the require.
My package.json
And my bootstrap.js
What am I doing wrong?