Skip to content

Commit 112f387

Browse files
committed
chore: Add source-map-explorer. #3
1 parent fca9657 commit 112f387

File tree

2 files changed

+141
-1
lines changed

2 files changed

+141
-1
lines changed

package-lock.json

Lines changed: 138 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
"css:build": "compile-less -d src -o lib/esm",
2323
"css:build:dist": "compile-less -d src --combine dist/markdown-editor.css --rm-global",
2424
"ts:watch": "tsbb watch --env-name esm:dev --env-name cjs --target react",
25-
"ts:build": "tsbb build --target react"
25+
"ts:build": "tsbb build --target react",
26+
"map": "source-map-explorer build/static/js/*.js --html build/website-result.html"
2627
},
2728
"repository": {
2829
"type": "git",
@@ -55,6 +56,7 @@
5556
"react": "^16.12.0",
5657
"react-dom": "^16.12.0",
5758
"react-test-renderer": "^16.12.0",
59+
"source-map-explorer": "^2.4.2",
5860
"tsbb": "^1.5.2"
5961
},
6062
"dependencies": {

0 commit comments

Comments
 (0)