Closed blackmatch closed 4 years ago
thanks
@blackmatch Is this better?
"scripts": {
"start": "roadhog server",
"build": "roadhog build",
"build:dll": "roadhog buildDll",
"postinstall": "npm run build:dll",
},
postinstall
means Run AFTER the package is installed
. Maybe it's better. @MinJieLiu
postinstall means Run AFTER the package is installed. Maybe it's better. @MinJieLiu
Agree.
I clone the origin repo, and then 'npm install', and then 'npm start', and then error cccured! Need to run 'roadhog buildDll' bebofe 'roadhog server'.This PR fixes the error.