2023-07-11 10:38:21 +03:00
|
|
|
import { defineConfig } from 'rollup'
|
2023-07-13 10:40:15 +03:00
|
|
|
import typescript from 'rollup-plugin-typescript2'
|
2023-07-11 10:38:21 +03:00
|
|
|
import vue from 'rollup-plugin-vue'
|
|
|
|
import sass from 'rollup-plugin-sass'
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
input: 'src/index.ts',
|
|
|
|
output: {
|
|
|
|
format: 'esm',
|
|
|
|
dir: 'dist'
|
|
|
|
},
|
2023-07-13 10:40:15 +03:00
|
|
|
plugins: [typescript(), vue(), sass()],
|
2023-07-11 10:38:21 +03:00
|
|
|
external: ['vue', 'axp-ts'],
|
|
|
|
})
|