Jony/typecho/write/rollup.config.js

12 lines
276 B
JavaScript
Raw Normal View History

2021-03-25 09:05:46 +00:00
import { nodeResolve } from '@rollup/plugin-node-resolve';
2021-06-03 02:58:42 +00:00
import uglify from '@lopatnov/rollup-plugin-uglify';
2021-03-25 09:05:46 +00:00
export default {
2021-06-01 08:48:04 +00:00
input: './js/index.js',
2021-04-22 02:45:37 +00:00
output: {
2021-06-01 08:48:04 +00:00
dir: './dist',
format: 'es'
2021-04-22 02:45:37 +00:00
},
2021-06-03 02:58:42 +00:00
preserveEntrySignatures: 'strict',
2021-05-28 02:25:56 +00:00
plugins: [nodeResolve(), uglify()]
2021-03-25 09:05:46 +00:00
};