Skip to content

Commit 1792383

Browse files
committed
adjust webpack.config.js
1 parent 656c398 commit 1792383

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ const config = {
66
output: {
77
path: `${__dirname}/dist`,
88
filename: 'js-scroll-effect-module.js',
9+
library: 'SCROLL_EFFECT_MODULE',
10+
libraryExport: 'default',
911
libraryTarget: 'umd'
1012
},
1113
module: {

0 commit comments

Comments
 (0)