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 663e61d commit b3b3ff4Copy full SHA for b3b3ff4
package.json
@@ -7,7 +7,7 @@
7
"scripts": {
8
"dev": "parcel ./demo/index.html",
9
"build:demo": "parcel build ./demo/index.html --out-dir ./demo/dist --public-url ./",
10
- "build": "rm -rf ./dist && tsc",
+ "build": "rm -rf ./dist && tsc -p ./tsconfig.build.json",
11
"prettier": "prettier '@(src|demo)/**/*.@(ts|tsx|html|less)' --write",
12
"lint": "tslint -p tsconfig.json --fix",
13
"test": "echo \"Error: no test specified\" && exit 1"
tsconfig.build.json
@@ -0,0 +1,4 @@
1
+{
2
+ "extends": "./tsconfig.json",
3
+ "include": ["src"]
4
+}
tsconfig.json
@@ -16,5 +16,5 @@
16
"jsx": "react",
17
"target": "es5"
18
},
19
- "include": ["src"]
+ "include": ["src", "demo"]
20
}
0 commit comments