Browse Source

import pls work

master
peter 2 years ago
parent
commit
a0642b65ab
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      webpack.prod.js

+ 3
- 2
webpack.prod.js View File

@@ -8,7 +8,8 @@ module.exports = {
8 8
     entry: path.resolve(__dirname, 'hdkey.js'),
9 9
     output: {
10 10
         path: path.resolve(__dirname, '.'),
11
+        libraryTarget: 'umd',
12
+        globalObject: 'this',
11 13
         filename: 'hdkey.min.js',
12 14
     },
13
-
14
-  }
15
+}

Loading…
Cancel
Save