Skip to content

Commit

Permalink
Run webpack before build & serve (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Sep 10, 2021
1 parent f4054ff commit 7eefa65
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,29 @@
{
"scripts": {
"_build": "hugo --cleanDestinationDir -e dev -DFE",
"_check-links": "make check-internal-links",
"_serve": "hugo serve -p 30000 -DFE",
"build:preview": "hugo --cleanDestinationDir -DFE --minify --baseURL \"${DEPLOY_PRIME_URL:-/}\"",
"build:production": "hugo --cleanDestinationDir --minify",
"build": "hugo --cleanDestinationDir -e dev -DFE",
"build": "npm run _build",
"check-links": "npm run _check-links",
"clean": "make clean",
"postbuild:preview": "npm run _check-links",
"postbuild:production": "npm run _check-links",
"prebuild:preview": "make get-milestones && npm run webpack",
"prebuild:production": "make get-milestones && npm run webpack",
"prebuild:preview": "make get-milestones && npm run webpack:production",
"prebuild:production": "make get-milestones && npm run webpack:production",
"prebuild": "npm run webpack",
"precheck-links": "npm run build",
"preinstall": "npm run submodule:get",
"serve": "hugo serve -p 30000 -DFE && npm run webpack:watch",
"preserve": "npm run webpack",
"schemas:update": "npm run submodule:update content-modules/opentelemetry-specification",
"serve": "npm run _serve",
"submodule:get": "git submodule update --init --recursive --depth 1",
"submodule:update": "git submodule update --remote --recursive --depth 1",
"test": "npm run check-links",
"webpack:production": "webpack --mode=production",
"webpack:watch": "webpack --mode=development --watch",
"webpack": "webpack --mode=production"
"webpack": "webpack --mode=development"
},
"private": true,
"devDependencies": {
Expand Down

0 comments on commit 7eefa65

Please sign in to comment.