Website: Add mode to webpack command (#11131)

This commit is contained in:
fisker Cheung authored and GitHub committed 2021-06-29 09:10:18 +08:00
1 parent 1004d37fc8
commit 57f8eec8e6
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
{
"license": "MIT",
"scripts": {
"build": "webpack && docusaurus-build",
"build": "webpack --mode=production && docusaurus-build",
"start": "concurrently \"docusaurus-start\" \"webpack --mode=development --watch\"",
"update-stable-docs": "rm -rf ./versioned_docs ./versions.json && docusaurus-version stable"
},