axp-ui/rollup.config.ts

16 lines
323 B
TypeScript
Raw Normal View History

2023-07-11 10:38:21 +03:00
import { defineConfig } from 'rollup'
import ts 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: [ts(), vue(), sass()],
external: ['vue', 'axp-ts'],
})