Unverified Commit bc9f2b61 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Minify ncc'd packages for download speed (#8341)

parent 9993092d
...@@ -9,6 +9,7 @@ module.exports = function (task) { ...@@ -9,6 +9,7 @@ module.exports = function (task) {
return ncc(join(__dirname, file.dir, file.base), { return ncc(join(__dirname, file.dir, file.base), {
// cannot bundle // cannot bundle
externals: ['chokidar'], externals: ['chokidar'],
minify: true,
...options ...options
}).then(({ code, assets }) => { }).then(({ code, assets }) => {
Object.keys(assets).forEach(key => Object.keys(assets).forEach(key =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment