angularjs - rollup-plugin-typescript does not recognize 'lib' in 'compilerOptions' -
i'm following this tutorial creating npm package. here tsconfig.json:
{ "compileroptions": { "target": "es5", "module": "es2015", "sourcemap": true, "moduleresolution": "node", "emitdecoratormetadata": true, "experimentaldecorators": true, "declaration": true, "outdir": "./dist", "lib": ["es2015", "dom"] }, "files": ["./lib/empty-text.ts"] }
when run rollup error:
rollup-plugin-typescript: unknown compiler option 'lib'. [!] error: rollup-plugin-typescript: couldn't process compiler options error: rollup-plugin-typescript: couldn't process compiler options @ typescript (d:\sandbox\rollup-play\node_modules\rollup-plugin-typescript\dist\rollup-plugin-typescript.cjs.js:226:9) @ object.<anonymous> (d:\sandbox\rollup-play\rollup.config.umd.js:45:9)
when remove lib
compileroptions
, different set of errors. i'm using rollup v0.8.1. version not support lib
, if does, doing wrong?
Comments
Post a Comment