We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b8579 commit dcdf51cCopy full SHA for dcdf51c
package.json
@@ -52,8 +52,9 @@
52
"watch": "^1.0.2"
53
},
54
"scripts": {
55
- "prepublishOnly": "yarn build # runs before publish",
+ "prepublishOnly": "yarn build:production # runs before publish",
56
"build": "rm -rf dist && tsc --module CommonJS",
57
+ "build:production": "yarn build -p tsconfig.production.json",
58
"build:watch": "rm -rf dist && tsc -w --module CommonJS",
59
"tsc": "tsc -p . --noEmit && tsc -p ./src/__tests__",
60
"test:browser": "yarn tsc && jest -c ./config/jest.config.js --env=jsdom",
tsconfig.production.json
@@ -0,0 +1,6 @@
1
+{
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "sourceMap": false
5
+ }
6
+}
0 commit comments