mirror of
https://github.com/developit/microbundle.git
synced 2026-01-25 14:06:50 +00:00
upgrade to rollup-plugin-typescript2@0.11
This commit is contained in:
parent
0c8c452575
commit
1bd22b7ab7
@ -59,7 +59,7 @@
|
||||
"rollup-plugin-preserve-shebang": "^0.1.6",
|
||||
"rollup-plugin-sizes": "^0.4.2",
|
||||
"rollup-plugin-strict-alias": "^1.0.0",
|
||||
"rollup-plugin-typescript2": "^0.10.0",
|
||||
"rollup-plugin-typescript2": "^0.11",
|
||||
"rollup-plugin-uglify": "^3.0.0",
|
||||
"sade": "^1.3.1",
|
||||
"tslib": "^1.9.0",
|
||||
|
||||
@ -212,7 +212,10 @@ function createConfig(options, entry, format, writeMeta) {
|
||||
inject: false,
|
||||
extract: !!writeMeta
|
||||
}),
|
||||
useTypescript && typescript({ typescript: require('typescript') }),
|
||||
useTypescript && typescript({
|
||||
typescript: require('typescript'),
|
||||
tsconfigDefaults: { compilerOptions: { declaration: true } }
|
||||
}),
|
||||
!useTypescript && flow({ all: true, pretty: true }),
|
||||
nodent({
|
||||
exclude: 'node_modules/**',
|
||||
|
||||
@ -52,7 +52,6 @@ exports[`fixtures ts-demo 1`] = `
|
||||
src
|
||||
car.ts
|
||||
index.ts
|
||||
tsconfig.json
|
||||
|
||||
|
||||
Build output to dist:
|
||||
|
||||
5
test/fixtures/ts-demo/tsconfig.json
vendored
5
test/fixtures/ts-demo/tsconfig.json
vendored
@ -1,5 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"declaration": true
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user