Jony/typecho/write/rollup.config.js
2021-04-17 12:19:43 +08:00

11 lines
282 B
JavaScript

import { nodeResolve } from '@rollup/plugin-node-resolve';
import { uglify } from 'rollup-plugin-uglify';
export default {
input: './js/joe.write.js',
output: {
file: './js/joe.write.chunk.js',
format: 'iife'
},
plugins: [nodeResolve(), uglify()]
};