Skip to content

Commit 5b294ae

Browse files
authored
Fix global window is not defined problem with Nuxt (#6)
1 parent 887ceed commit 5b294ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack.mix.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ mix.js('src/index.js', 'dist/collapse-transition.js')
55
mix.webpackConfig({
66
output: {
77
libraryTarget: 'umd',
8+
globalObject: 'this',
89
}
910
})

0 commit comments

Comments
 (0)