소스 검색

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

Add sourcemaps to Spearhead
Ben Dwyer 4 년 전
부모
커밋
28c754eb27
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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"
   }
-}
+}