Skip to content

Commit f053537

Browse files
committed
【fix】优化打包配置
1 parent 35d91d9 commit f053537

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/webpack.config.base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ let moduleVersion = process.env.moduleVersion || 'es5';
88

99
//打包公共配置
1010
module.exports = {
11+
target: moduleVersion === 'es5' ? ['es5'] : undefined,
1112
moduleVersion: moduleVersion,
1213

1314
mode: 'production',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy