mirror of
https://github.com/bitinflow/ui-old.git
synced 2026-03-13 13:45:57 +00:00
Change structure
This commit is contained in:
22
rollup.config.js
Normal file
22
rollup.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
import vue from 'rollup-plugin-vue'
|
||||
import peerDepsExternal from 'rollup-plugin-peer-deps-external'
|
||||
import scss from "rollup-plugin-scss";
|
||||
|
||||
export default [
|
||||
{
|
||||
input: 'src/index.js',
|
||||
output: [
|
||||
{
|
||||
format: 'esm',
|
||||
file: 'dist/library.mjs'
|
||||
},
|
||||
{
|
||||
format: 'cjs',
|
||||
file: 'dist/library.cjs'
|
||||
}
|
||||
],
|
||||
plugins: [
|
||||
vue(), peerDepsExternal(), scss()
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user