一覧へ戻る
aelbore/rollup-plugin-ngc(新しいタブで開きます)
主要言語: TypeScript
Rollup plugin for Angular with ivy enable
- star 数
- 18
- watcher 数
- 1
- fork 数
- 2
- issue 数
- 5
- 最終更新
- 2023/01/06
主要言語: TypeScript
Rollup plugin for Angular with ivy enable
Rollup plugin for angular with ivy enable
git clone https://github.com/aelbore/rollup-plugin-ngc.git
cd rollup-plugin-ngc
npm install
npm install --save-dev rollup-plugin-ngc
npm run ngcc - compile all @angular/* libraries into ivy compatiblenpm run build - build ngcPluginnpm run example - build the example codenpm run serveimport { ngcPlugin } from 'rollup-plugin-ngc' export default { input: './src/index.ts', plugins: [ ngcPlugin() ], output: { format: 'es', file: './dist/hello-world.ts' } }
rootDir - directory of input files (default src)sourceMap - Generates corresponding .map file (default true)target - Specify ECMAScript target version (default ES2018)