Closed dangerousbeans closed 5 years ago
I was seeing it when browserifying from patchcore, cuz I think by default browserify doesn't swap modules inside node_modules unless you hit it with the -g flag for a transform instead of the -t
Here's the fork of patchcore: https://github.com/dangerousbeans/patchcore/tree/browserify
Run
browserify -g [ browserify-replace --replace '{ "from": "^(#.+)", "to": "" }' ] -g aliasify example/index.js | indexhtmlify > index.html
Right now it actually seems to pack! But I'm trying to piece it together so the different way of injecting the keys still lets patchcore have...entry or whatever
:no_idea_what_im_doing_dog:
why do you need all that weird stuff in browserify, in particular what does: browserify-replace --replace '{ "from": "^(#.+)", "to": "" }'
do?
the replace thing strips out the #!/bin/bash
lines so that the rest of it doesn't freak out
aliasify is switching net
with net-browserify-ws
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
can you link me to a script to reproduce this problem? because I am able to browserify this as it is... seems like there might be another problem?