22 lines
345 B
JavaScript
22 lines
345 B
JavaScript
|
import vue from '@vitejs/plugin-vue'
|
||
|
|
||
|
export default {
|
||
|
resolve: {
|
||
|
alias: {
|
||
|
vue: 'vue/dist/vue.esm-bundler.js'
|
||
|
}
|
||
|
},
|
||
|
rollupOptions: {
|
||
|
input: 'src/main.js',
|
||
|
format: 'system',
|
||
|
preserveEntrySignatures: true
|
||
|
},
|
||
|
plugins: [vue({
|
||
|
template: {
|
||
|
transformAssetUrls: {
|
||
|
base: '/src'
|
||
|
}
|
||
|
}
|
||
|
})],
|
||
|
}
|