You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 regels
572 B

import typescript from 'rollup-plugin-typescript2';
import uglify from 'rollup-plugin-uglify';
import { minify } from 'uglify-es';
export default {
input: './src/extension.ts',
output: {
file: 'out/extension.js',
format: 'cjs'
},
plugins: [
typescript(),
uglify({
ecma: 7,
compress: true,
mangle: true,
output: {
beautify: false,
comments: false,
ecma: 7
},
sourceMap: false,
}, minify),
]
}