chore: improve build output (#2258)
This commit is contained in:
committed by
Shawn Erquhart
parent
54fde06050
commit
f5e148f9a7
@ -103,6 +103,7 @@ const umdExternals = Object.keys(pkg.peerDependencies || {}).reduce((previous, k
|
||||
* Default: umd
|
||||
*/
|
||||
const baseConfig = ({ target = isProduction ? 'umd' : 'umddir' } = {}) => ({
|
||||
context: process.cwd(),
|
||||
mode: isProduction ? 'production' : 'development',
|
||||
entry: './src/index.js',
|
||||
output: targetOutputs()[target],
|
||||
|
Reference in New Issue
Block a user