Skip to content

Commit 685f637

Browse files
committed
Make axios external (web-core)
1 parent d1eda19 commit 685f637

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/web-core/webpack.prod.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ module.exports = merge(common, {
1414
optimization: {
1515
minimize: false,
1616
},
17+
externals: {
18+
axios: 'axios',
19+
},
1720
plugins: [
1821
new webpack.DefinePlugin({
1922
'process.env.FE_LIBRARY_VERSION': JSON.stringify(pkg.version),

0 commit comments

Comments
 (0)