Browse Source

merge

master
Daniel Huebleitner 5 years ago
parent
commit
bb9cc33b53
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      package.json
  2. 3
    3
      src/webpack.js

+ 1
- 1
package.json View File

@@ -1,6 +1,6 @@
1 1
 {
2 2
   "name": "rpclibrary",
3
-  "version": "1.3.1",
3
+  "version": "1.3.2",
4 4
   "description": "rpclibrary is a websocket on steroids!",
5 5
   "main": "./js/Index.js",
6 6
   "repository": {

+ 3
- 3
src/webpack.js View File

@@ -5,9 +5,9 @@ module.exports = {
5 5
   target: "web",
6 6
   entry: path.resolve(__dirname, 'Frontend.ts'),
7 7
   output: {
8
-      path: path.resolve(__dirname, '..', 'js', 'rpclibrary.browser.js'),
9
-      filename: "Frontend.js",
10
-      libraryTarget: 'commonjs',
8
+    path: path.resolve(__dirname, '..', 'js', 'browser'),
9
+    filename: "rpclibrary.browser.js",
10
+    libraryTarget: 'window'
11 11
   },
12 12
   resolve: {
13 13
     extensions: [".ts", ".tsx", ".js"]

Loading…
Cancel
Save