Bladeren bron

Merge pull request #2536 from Automattic/add/sourcemaps-to-spearhead

Add sourcemaps to Spearhead
Ben Dwyer 4 jaren geleden
bovenliggende
commit
28c754eb27
1 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. 2 3
      spearhead/package.json

+ 2 - 3
spearhead/package.json

@@ -2,7 +2,6 @@
   "name": "spearhead",
   "version": "1.0.0",
   "description": "a podcast theme",
-  "main": "index.js",
   "keywords": [
     "gutenberg",
     "blocks",
@@ -20,9 +19,9 @@
   },
   "scripts": {
     "start": "npm run watch",
-    "build:style": "node-sass assets/sass/style.scss style.css --output-style expanded --indent-type tab --indent-width 1",
+    "build:style": "node-sass assets/sass/style.scss style.css --output-style expanded --indent-type tab --indent-width 1  --source-map true",
     "build:rtl": "rtlcss style.css style-rtl.css",
     "build": "run-s \"build:*\"",
     "watch": "chokidar \"**/*.scss\" -c \"npm run build\" --initial"
   }
-}
+}