Jony/typecho/write/rollup.config.js

11 lines
258 B
JavaScript
Raw Normal View History

2021-03-25 09:05:46 +00:00
import { nodeResolve } from '@rollup/plugin-node-resolve';
import { uglify } from 'rollup-plugin-uglify';
export default {
2021-03-29 03:02:01 +00:00
input: './js/joe.write.js',
output: {
file: './js/joe.write.chunk.js',
format: 'iife'
},
2021-04-02 05:14:05 +00:00
plugins: [nodeResolve(), uglify()]
2021-03-25 09:05:46 +00:00
};