Parcourir la source

add productionbuild instructions

Alexander Rose il y a 5 ans
Parent
commit
5cb5abdd6b
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  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: