Skip to content

Commit

Permalink
Rebuild node-sass before webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Jan 18, 2018
1 parent b2d9ac9 commit e5d46e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@
"webpack": "^3.5.6"
},
"scripts": {
"postinstall": "./node_modules/.bin/webpack --colors --progress --debug --config webpack-vendors-config.js",
"postinstall": "npm rebuild node-sass && npm run webpack-vendors",
"pretest": "npm run webpack-with-test",
"test": "npm run karma",
"karma": "./scripts/karma-runner.js",
"webpack-vendors": "./node_modules/.bin/webpack --colors --progress --debug --config webpack-vendors-config.js",
"webpack": "./node_modules/.bin/webpack --colors --progress",
"webpack-with-test": "./node_modules/.bin/webpack --colors --progress --env.testconfig 1",
"webpack-watch": "RAILS_ENV=development npm run webpack -- --watch --cache",
Expand Down

0 comments on commit e5d46e2

Please sign in to comment.