Skip to content

Commit ad9a872

Browse files
committed
Test webpack config
1 parent 0c85400 commit ad9a872

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jderobot-commsmanager",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"scripts": {

webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module.exports = {
1717
output: {
1818
filename: 'main.js',
1919
path: path.resolve(__dirname, 'dist'),
20+
libraryTarget: 'umd',
21+
globalObject: 'this',
2022
},
2123
devtool: 'source-map'
2224
};

0 commit comments

Comments
 (0)