mirror of
https://github.com/sweidac/peasy.git
synced 2025-07-27 19:31:55 +02:00
Add rollup to provide distributables.
This commit is contained in:
18
rollup.config.js
Normal file
18
rollup.config.js
Normal file
@@ -0,0 +1,18 @@
|
||||
import { terser } from "rollup-plugin-terser";
|
||||
|
||||
export default {
|
||||
input : 'index.mjs',
|
||||
output : [
|
||||
{
|
||||
file : 'dist/peasy.js',
|
||||
name : 'html',
|
||||
format : 'umd'
|
||||
},
|
||||
{
|
||||
file : 'dist/peasy.min.js',
|
||||
name : 'html',
|
||||
format : 'umd',
|
||||
plugins : [ terser() ]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user