2021-03-25 09:05:46 +00:00
|
|
|
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
|
|
|
import { uglify } from 'rollup-plugin-uglify';
|
|
|
|
export default {
|
2021-06-01 08:48:04 +00:00
|
|
|
input: './js/index.js',
|
2021-04-22 02:45:37 +00:00
|
|
|
output: {
|
2021-06-01 08:48:04 +00:00
|
|
|
dir: './dist',
|
|
|
|
format: 'es'
|
2021-04-22 02:45:37 +00:00
|
|
|
},
|
2021-06-01 08:48:04 +00:00
|
|
|
preserveEntrySignatures: false,
|
2021-05-28 02:25:56 +00:00
|
|
|
plugins: [nodeResolve(), uglify()]
|
2021-03-25 09:05:46 +00:00
|
|
|
};
|