peter 5 anni fa
parent
commit
5f0dbca47f
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      src/webpack.js

+ 3
- 3
src/webpack.js Vedi 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…
Annulla
Salva