Browse Source

Fix cljs issue

Tienson Qin 5 years ago
parent
commit
3bf595d3de
2 changed files with 4 additions and 2 deletions
  1. 1 0
      .gitignore
  2. 3 2
      package.json

+ 1 - 0
.gitignore

@@ -12,6 +12,7 @@ pom.xml.asc
 .hg/
 .hg/
 
 
 node_modules/
 node_modules/
+resources/public/js/*.map
 resources/public/js/main.js
 resources/public/js/main.js
 resources/public/js/cljs-runtime
 resources/public/js/cljs-runtime
 resources/public/js/manifest.edn
 resources/public/js/manifest.edn

+ 3 - 2
package.json

@@ -11,8 +11,9 @@
         "shadow-cljs": "2.8.81"
         "shadow-cljs": "2.8.81"
     },
     },
     "scripts": {
     "scripts": {
-        "watch": "clj -A:cljs watch app",
-        "release": "clj -A:cljs release app",
+        "watch": "clojure -A:cljs watch app",
+        "release": "clojure -A:cljs release app",
+        "debug": "clojure -A:cljs release app --debug",
         "clean": "rm -rf target; rm -rf resources/public/js/compiled; rm -rf resources/public/js/cljs-runtime"
         "clean": "rm -rf target; rm -rf resources/public/js/compiled; rm -rf resources/public/js/cljs-runtime"
     },
     },
     "dependencies": {
     "dependencies": {