Skip to content

Commit 7ba9198

Browse files
update webpack config
1 parent 1614294 commit 7ba9198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ module.exports = (env) => {
77
'more-tabs': './src/api.js',
88
},
99
output: {
10-
filename: `[name].${isProduction ? '.min' : ''}.js`,
10+
filename: `[name]${isProduction ? '.min' : ''}.js`,
1111
path: path.resolve(__dirname, 'build'),
12-
library: pkg.name,
12+
library: 'moreTabs',
1313
libraryTarget: 'umd',
1414
publicPath: '/build/',
1515
umdNamedDefine: true,

0 commit comments

Comments
 (0)