Skip to content

Commit

Permalink
Clean build artifacts before running strapi build
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Aug 23, 2024
1 parent 724d0e4 commit 755f639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/bp-strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"develop": "cross-env ENV_PATH=./config/env/development/.env strapi develop",
"develop:test": "cross-env ENV_PATH=./e2e/test.env strapi develop",
"start": "cross-env ENV_PATH=./config/env/production/.env strapi start",
"build": "cross-env ENV_PATH=./config/env/development/.env strapi build",
"build:prod": "cross-env ENV_PATH=./config/env/production/.env strapi build",
"build": "rm -rf ./dist && cross-env ENV_PATH=./config/env/development/.env strapi build",
"build:prod": "rm -rf ./dist && cross-env ENV_PATH=./config/env/production/.env strapi build",
"test-db": "docker run -p 5432:5432 -e POSTGRES_PASSWORD=password -e POSTGRES_DB=bpgallery postgres",
"strapi": "strapi",
"debug": "cross-env ENV_PATH=./config/env/development/.env node --inspect debug.js",
Expand Down

0 comments on commit 755f639

Please sign in to comment.