Skip to content

Commit

Permalink
Clean build artifacts before running strapi build (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe authored Aug 23, 2024
1 parent 724d0e4 commit d2c3fe8
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 d2c3fe8

Please sign in to comment.