Jony/typecho/write/rollup.config.js
2021-06-01 16:48:04 +08:00

12 lines
267 B
JavaScript

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