/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular/scripts/rollup.config.js
22 строки
464 B
Liam DeBeasi
refactor(angular): move to packages directory (#27719)
05 июл 2023, 20:52
Не верифицирован
05 июл 2023, 20:52
32bc33e
Код
Авторство
О чём код?
import resolve from '@rollup/plugin-node-resolve'; export default { input: 'build/es2015/core.js', output: [ { file: 'dist/fesm2015.js', format: 'es' } ], external: (id) => { // anything else is external // Windows: C:\xxxxxx\xxx const colonPosition = 1; return !(id.startsWith('.') || id.startsWith('/') || id.charAt(colonPosition) === ':'); }, plugins: [ resolve({ mainFields: ['module'] }) ] };