Skip to content

Commit

Permalink
Merge pull request #69 from tymondesigns/feature/newer-typescript
Browse files Browse the repository at this point in the history
use latest typescript and fix issue with importHelpers
  • Loading branch information
developit committed Jan 26, 2018
2 parents 2413292 + edf2975 commit b5504c9
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 @@ -62,6 +62,7 @@
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-uglify": "^3.0.0",
"sade": "^1.3.1",
"tslib": "^1.9.0",
"typescript": "^2.6.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -212,7 +212,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 b5504c9

Please sign in to comment.