Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alanorth/hugo-theme-bootstrap4-blog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Orth <alan.orth@gmail.com>2021-03-23 12:25:21 +0300
committerAlan Orth <alan.orth@gmail.com>2021-03-23 12:25:21 +0300
commit8cdfeb297d640a4aa3365cc4c14760d0d4f30ec0 (patch)
treea467e41a9812f504bec6af479e55a76b6d023fea
parent7a2ac26879b915333a8a7c7b61a6ed5d173609e9 (diff)
package.json: Run webpack without npx
This only affects the CI, but the inability to run webpack seems to have been due to using an older version of npm (v6.14.x), and now we upgrade npm before install so we don't need this hack.
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index 2c889c1..eae2d7c 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"build:css": "sass --style expanded source/scss/style.scss assets/css/style.css.tmp && cleancss --level 1 assets/css/style.css.tmp -o assets/css/style.css",
"build:rtlcss": "rtlcss -s assets/css/style.css.tmp assets/css/style.rtl.css.tmp && cleancss --level 1 assets/css/style.rtl.css.tmp -o assets/css/style.rtl.css",
"build:cookieconsent": "cp node_modules/@chiiya/haven/dist/haven.umd.min.js assets/js",
- "build:js": "npx webpack",
+ "build:js": "webpack",
"build": "npm run build:css && npm run build:rtlcss && npm run build:js && npm run build:cookieconsent && npm run clean",
"clean": "rm assets/css/style.css.tmp assets/css/style.css.tmp.map assets/css/style.rtl.css.tmp"
},