bunnylol
bunnylol copied to clipboard
Followed instruction to run locally but shows a blank page?
How to fix?


I used an alternative workflow that should unblock you.
In your terminal:
// Build the project; generate bundle.js; minify bundle.js into main.js
npm run build; npm run bundle; npm run minify
// CLI shorthand to open index.html in google chrome, which loads the main.js file
google-chrome index.html
Repeat as needed for any changes you make. When you want to commit make sure you regenerate main.js
.
The README instructions for adding a new command are incorrect/out of date and need to be updated too. the prepublish
command doesn't exist in the package.json
I put out a pull req for adding a prepublish
target in https://github.com/rithik/bunnylol/pull/5