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
 {
1
 {
2
   "name": "rpclibrary",
2
   "name": "rpclibrary",
3
-  "version": "1.3.1",
3
+  "version": "1.3.2",
4
   "description": "rpclibrary is a websocket on steroids!",
4
   "description": "rpclibrary is a websocket on steroids!",
5
   "main": "./js/Index.js",
5
   "main": "./js/Index.js",
6
   "repository": {
6
   "repository": {

+ 3
- 3
src/webpack.js View File

5
   target: "web",
5
   target: "web",
6
   entry: path.resolve(__dirname, 'Frontend.ts'),
6
   entry: path.resolve(__dirname, 'Frontend.ts'),
7
   output: {
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
   resolve: {
12
   resolve: {
13
     extensions: [".ts", ".tsx", ".js"]
13
     extensions: [".ts", ".tsx", ".js"]

Loading…
Cancel
Save