Jony/typecho/write/rollup.config.js
2021-06-03 10:58:42 +08:00

12 lines
276 B
JavaScript

import { nodeResolve } from '@rollup/plugin-node-resolve';
import uglify from '@lopatnov/rollup-plugin-uglify';
export default {
input: './js/index.js',
output: {
dir: './dist',
format: 'es'
},
preserveEntrySignatures: 'strict',
plugins: [nodeResolve(), uglify()]
};