0
私は、ang2プロジェクトでロールアップセットアップを取得しようとしています。 私はエラーの下に過去を取得することができません: -angle2プロジェクトでロールアップを使用できません
D:\js\bundling\rollup_ng2_tes1\test1>D:\js\bundling\rollup_ng2_tes1\test1\node_modules\.bin\rollup -c
**? typescript.readConfigFile is not a function**
は本当にこの上で、ほぼ一日を無駄にしました。
tsconfig.json
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"dom"
]
}
}
rollup.config.jsは以下の通りです。
import typescript from 'rollup-plugin-typescript';
export default
{
entry: './src/main.ts',
plugins: [
typescript({
typescript: require('rollup-plugin-typescript')
})
]
}
ヘルプ、人???
私はv2.3.2の写し(typescript)を使用していますが、私はウルのコードを使用している場合、それは私に巨大なダンプを提供します。これはうまくいきません – Plankton
@ Planktonあなたがやろうとしていることはうまくいっていません;)ダンプは何を言いますか? – PierreDuc
それはちょうどいくつかのライブラリコードを出力しました。 – Plankton