rollup.config: remove debug console logging

pull/3386/head
Yuxuan Zhang 2 years ago
parent b796f2152a
commit 2149f6bffd
No known key found for this signature in database
GPG Key ID: 6910B04F3351EF7D

@ -54,7 +54,6 @@ const esmBuild: RollupOptions = {
format: 'esm', format: 'esm',
entryFileNames: `[name].js`, entryFileNames: `[name].js`,
chunkFileNames(chunk) { chunkFileNames(chunk) {
console.log('chunkFileNames =>', chunk.name)
return `${chunk.name}-[hash].js` return `${chunk.name}-[hash].js`
}, },
manualChunks(id) { manualChunks(id) {
@ -64,7 +63,6 @@ const esmBuild: RollupOptions = {
const match = /^.*\-worker(?=(\.(js|ts))?$)/i.exec(id) const match = /^.*\-worker(?=(\.(js|ts))?$)/i.exec(id)
if (match) { if (match) {
const [name] = match const [name] = match
console.log('manualChunks worker =>', name)
return name return name
} }
}, },

Loading…
Cancel
Save