25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 lines
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),
]
}