mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00

This patch includes some necessary updates for `@stencil/vue-output-target@v0.9.0`: - we started to export Stencils helpers as runtime via `@stencil/vue-output-target/runtime` similar to what we did in React - this version requires some updates to Vue and TypeScript as well - adjustments related to that update
27 lines
528 B
JavaScript
27 lines
528 B
JavaScript
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')
|
|
)
|
|
};
|