Skip to content

Commit

Permalink
use latest typescript and fix issue with importHelpers
Browse files Browse the repository at this point in the history
  • Loading branch information
tymondesigns committed Jan 26, 2018
1 parent 096b8ba commit a1d926f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -63,6 +63,7 @@
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-uglify": "^2.0.1",
"sade": "^1.3.1",
"tslib": "^1.9.0",
"typescript": "^2.6.2",
"uglify-es": "^3.3.6"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -213,7 +213,7 @@ function createConfig(options, entry, format, writeMeta) {
inject: false,
extract: !!writeMeta
}),
useTypescript && typescript(),
useTypescript && typescript({ typescript: require('typescript') }),
!useTypescript && flow({ all: true, pretty: true }),
nodent({
exclude: 'node_modules/**',
Expand Down
5 changes: 5 additions & 0 deletions tsconfig.json
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"importHelpers": true
}
}

0 comments on commit a1d926f

Please sign in to comment.