refactor(vue-router): use ts rollup plugin

This commit is contained in:
Liam DeBeasi
2023-11-01 13:16:09 -04:00
parent 4dd069282b
commit 266cebdff6
3 changed files with 88 additions and 4 deletions

View File

@ -1,5 +1,7 @@
import typescript from '@rollup/plugin-typescript';
export default {
input: 'dist-transpiled/index.js',
input: 'src/index.ts',
output: [
{
file: 'dist/index.js',
@ -7,5 +9,6 @@ export default {
sourcemap: true,
}
],
plugins: [typescript()],
external: ['vue-router', 'vue']
};