axp-ui/rollup.config.ts
2023-07-13 10:40:15 +03:00

15 lines
338 B
TypeScript

import { defineConfig } from 'rollup'
import typescript from 'rollup-plugin-typescript2'
import vue from 'rollup-plugin-vue'
import sass from 'rollup-plugin-sass'
export default defineConfig({
input: 'src/index.ts',
output: {
format: 'esm',
dir: 'dist'
},
plugins: [typescript(), vue(), sass()],
external: ['vue', 'axp-ts'],
})