Jony/typecho/write/rollup.config.js
2021-05-28 10:25:56 +08:00

11 lines
258 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()]
};