You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
The script "install": "node-gyp rebuild", in the package.json overwrites build/lz4.js on install, meaning that when you npm install the package the web version may be unavailable.
This may only have been an issue for me because I have a hybrid webpack project that outputs both a node-based cli tool and a browser ready package.
A solution could be to change the browserify output to another folder and change the "browser" entry in package.json to point there instead. build/ could then be added to .gitignore so that the node build doesn't accidentally get added.
The text was updated successfully, but these errors were encountered:
The script
"install": "node-gyp rebuild",
in the package.json overwrites build/lz4.js on install, meaning that when you npm install the package the web version may be unavailable.This may only have been an issue for me because I have a hybrid webpack project that outputs both a node-based cli tool and a browser ready package.
A solution could be to change the browserify output to another folder and change the "browser" entry in package.json to point there instead. build/ could then be added to .gitignore so that the node build doesn't accidentally get added.
The text was updated successfully, but these errors were encountered: