Browse Source

fix

master
peter 5 years ago
parent
commit
5f0dbca47f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/webpack.js

+ 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