瀏覽代碼

add productionbuild instructions

Alexander Rose 5 年之前
父節點
當前提交
5cb5abdd6b
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      README.md

+ 5 - 1
README.md

@@ -56,9 +56,13 @@ This project builds on experience from previous solutions:
 ### Build automatically on file save:
     npm run watch
 
-### With debug mode enabled:
+### Build with debug mode enabled:
     DEBUG=molstar npm run watch
 
+### Build for production:
+    npm run build
+    NODE_ENV=production npm run build-webpack
+
 **Run**
 
 If not installed previously: