Skip to content

Commit a5f4408

Browse files
authored
Use TS compiler to generate JS files (#988)
1 parent b5ce7e8 commit a5f4408

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"build:dev": "tsc --p tsconfig.dev.json",
2929
"build:exports": "./node_modules/.bin/babel src --out-dir src --config-file ./src/.babelrc.json --extensions '.ts,.tsx' --ignore 'src/index.ts'",
3030
"build:packages": "node scripts/buildPackages.js",
31-
"build": "tsc --p tsconfig.build.json && npm run build:exports && npm run build:packages",
31+
"build": "tsc --p tsconfig.build.json && npm run build:packages",
3232
"log": "react-native log-ios | grep 'ethan -'",
3333
"docs:install": "(cd ./uilib-docs && rm -rf node_modules && rm -rf package-lock.json && npm install)",
3434
"docs:deploy": "(cd ./uilib-docs && gatsby build --prefix-paths && gh-pages -d public --branch gh-pages)",

tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "./tsconfig",
33
"compilerOptions": {
4-
"emitDeclarationOnly": true
4+
"emitDeclarationOnly": false
55
},
66
"include": ["src/**/*", "typings/**/*"],
77
"exclude": [ "node_modules", "src/index.ts"]

0 commit comments

Comments
 (0)