File tree Expand file tree Collapse file tree 3 files changed +523
-753
lines changed Expand file tree Collapse file tree 3 files changed +523
-753
lines changed Original file line number Diff line number Diff line change 1- import rollup from 'rollup' ;
2- import buble from 'rollup-plugin-buble' ;
3- import commonjs from 'rollup-plugin-commonjs' ;
4- import nodeResolve from 'rollup-plugin-node-resolve' ;
5- import { uglify } from 'rollup-plugin-uglify' ;
6- import replace from 'rollup-plugin-replace' ;
1+ import * as rollup from 'rollup' ;
2+ import commonjs from '@rollup/plugin-commonjs' ;
3+ import nodeResolve from '@rollup/plugin-node-resolve' ;
4+ import uglify from '@rollup/plugin-terser' ;
5+ import replace from '@rollup/plugin-replace' ;
76import chokidar from 'chokidar' ;
87import path from 'path' ;
98import { relative } from './util.js' ;
@@ -28,10 +27,6 @@ async function build(opts) {
2827 . rollup ( {
2928 input : opts . input ,
3029 plugins : ( opts . plugins || [ ] ) . concat ( [
31- buble ( {
32- transforms : {
33- dangerousForOf : true
34- } } ) ,
3530 commonjs ( ) ,
3631 nodeResolve ( ) ,
3732 replace ( {
You can’t perform that action at this time.
0 commit comments