Tweak builds to omit declaration maps in prod

This commit is contained in:
Steve Ruiz 2021-09-05 15:18:08 +01:00
parent f8c1b9ff4e
commit af69aef5c0
4 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@tldraw/core", "name": "@tldraw/core",
"version": "0.0.76", "version": "0.0.77",
"private": false, "private": false,
"description": "A tiny little drawing app (core)", "description": "A tiny little drawing app (core)",
"author": "@steveruizok", "author": "@steveruizok",

View file

@ -13,6 +13,8 @@
"compilerOptions": { "compilerOptions": {
"incremental": false, "incremental": false,
"emitDeclarationOnly": true, "emitDeclarationOnly": true,
"declarationMap": false,
"sourceMap": false,
"outDir": "./dist/types" "outDir": "./dist/types"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@tldraw/tldraw", "name": "@tldraw/tldraw",
"version": "0.0.76", "version": "0.0.77",
"private": false, "private": false,
"description": "A tiny little drawing app (editor)", "description": "A tiny little drawing app (editor)",
"author": "@steveruizok", "author": "@steveruizok",
@ -64,7 +64,7 @@
"@radix-ui/react-radio-group": "^0.0.18", "@radix-ui/react-radio-group": "^0.0.18",
"@radix-ui/react-tooltip": "^0.0.20", "@radix-ui/react-tooltip": "^0.0.20",
"@stitches/react": "^1.0.0", "@stitches/react": "^1.0.0",
"@tldraw/core": "^0.0.67", "@tldraw/core": "^0.0.77",
"perfect-freehand": "^0.5.3", "perfect-freehand": "^0.5.3",
"react-hotkeys-hook": "^3.4.0", "react-hotkeys-hook": "^3.4.0",
"rko": "^0.5.20" "rko": "^0.5.20"

View file

@ -12,7 +12,9 @@
], ],
"compilerOptions": { "compilerOptions": {
"incremental": false, "incremental": false,
"sourceMap": false,
"emitDeclarationOnly": true, "emitDeclarationOnly": true,
"declarationMap": false,
"outDir": "./dist/types" "outDir": "./dist/types"
} }
} }