Skip to content

Commit

Permalink
use es2019
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed May 24, 2021
1 parent 23d9775 commit 62b1bd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/cli/package.js
@@ -1,8 +1,5 @@
export default {
build: true,
ignoreUnused: [
'crc', 'compression', 'connect', 'destr', 'fs-extra',
'globby', 'opener', 'pretty-bytes', 'serve-static', 'upath', 'lodash'
],
ignoreUnused: ['crc'],
externals: ['crc/lib/crc32']
}
2 changes: 1 addition & 1 deletion scripts/rollup.config.js
Expand Up @@ -51,7 +51,7 @@ export default function rollupConfig ({
// /lodash/
// ]
// }),
esbuild({ target: 'node12' }),
esbuild({ target: 'es2019' }),
commonjsPlugin({ include: /node_modules/ }),
jsonPlugin(),
licensePlugin({
Expand Down

0 comments on commit 62b1bd7

Please sign in to comment.