site: copy preserveEntrySignatures settings from template (#5356)

pull/5360/head
Ben McCann 4 years ago committed by GitHub
parent 9db8773070
commit c8c50b5ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -63,6 +63,8 @@ export default {
module: true module: true
}) })
], ],
preserveEntrySignatures: false,
onwarn onwarn
}, },
@ -91,6 +93,8 @@ export default {
require('module').builtinModules || Object.keys(process.binding('natives')) require('module').builtinModules || Object.keys(process.binding('natives'))
) )
], ],
preserveEntrySignatures: 'strict',
onwarn onwarn
}, },
@ -105,6 +109,9 @@ export default {
}), }),
commonjs(), commonjs(),
!dev && terser() !dev && terser()
] ],
preserveEntrySignatures: false,
onwarn
} }
}; };

Loading…
Cancel
Save