Skip to content

Commit

Permalink
fix(prestashop): fix building assets (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen authored May 15, 2024
1 parent 5e94644 commit 210ed10
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions images/prestashop/scripts/_build-themes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,22 @@ build-themes() {

for workspace in $workspaces; do
cd "$workspace" || exit 1
h2 "Building $workspace..."
h2 "Installing $workspace..."

npm pkg delete devDependencies.node-sass
npm pkg delete dependencies.node-sass
npm pkg set devDependencies.sass=^1

npm install --legacy-peer-deps

fix-files
cd - || exit 1
done

fix-files

for workspace in $workspaces; do
cd "$workspace" || exit 1
h2 "Building $workspace..."

npm run build

Expand Down

0 comments on commit 210ed10

Please sign in to comment.