Skip to content

Commit 4f33731

Browse files
committed
Export to a global variable for browser usage
1 parent c0e8c21 commit 4f33731

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

webpack.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ module.exports = (env) => {
1414
clean: true,
1515
globalObject: 'this',
1616
library: {
17-
name: 'particle-api-js',
18-
type: 'umd',
19-
umdNamedDefine: true,
20-
export: 'default'
17+
name: 'Particle',
18+
type: 'var'
2119
}
2220
},
2321
optimization: {

0 commit comments

Comments
 (0)