/
githubmirror
/
ionic-framework
Обзор
Документация
Войти
/
githubmirror
/
ionic-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/vue/rollup.config.mjs
26 строк
528 B
Christian Bromann
fix(vue): update Stencil Vue output target (#30159)
29 янв 2025, 19:31
Не верифицирован
29 янв 2025, 19:31
eb725fc
Код
Авторство
О чём код?
import resolve from '@rollup/plugin-node-resolve'; import typescript from '@rollup/plugin-typescript'; const external = ['vue', 'vue-router']; export default { input: 'src/index.ts', output: [ { dir: 'dist/', entryFileNames: '[name].js', chunkFileNames: '[name]-[hash].js', format: 'es', sourcemap: true }, ], plugins: [ typescript(), resolve() ], external: ( id => external.includes(id) || id.startsWith('@ionic/core') || id.startsWith('ionicons') ) };