Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add workaround for Heroku

Patryk Zawadzki27243c6f1fff
diff --git a/package.json b/package.json
index 3dda6e7d4c..dcfed2eeb4 100644
--- a/package.json
+++ b/package.json
@@ -88,7 +88,7 @@
},
"scripts": {
"build-assets": "node ./node_modules/webpack/bin/webpack.js -p",
- "heroku-postbuild": "npm run build-assets",
+ "heroku-postbuild": "yarn add --force node-sass && yarn run build-assets",
"start": "UV_THREADPOOL_SIZE=8 node ./node_modules/webpack/bin/webpack.js -d --watch"
}
}