Last active
April 11, 2019 23:52
-
-
Save majkelo/1fcacd3aea7c00ad2e31e2fdf696b5e9 to your computer and use it in GitHub Desktop.
Fix for different webapp behaviour in dev env and production env
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ok, so I faced the same error. The solution was quite simple (didn't require any code change): | |
rm -rf ./bower_components/ | |
rm -rf ./release/ | |
rm -rf ./node_modules/ | |
rm -rf ./.tmp/* | |
gulp clean | |
npm install | |
bower install | |
npm rebuild node-sass | |
gulp build | |
After this, webapp behaves the same from `gulp serve`, `gulp serve:dist` and `gulp build`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment