This commit is contained in:
2019-10-28 20:02:04 +01:00
parent cc78248e44
commit 5f0dbca47f
+3 -3
View File
@@ -5,9 +5,9 @@ module.exports = {
target: "web",
entry: path.resolve(__dirname, 'Frontend.ts'),
output: {
path: path.resolve(__dirname, '..', 'js', 'rpclibrary.browser.js'),
filename: "Frontend.js",
libraryTarget: 'commonjs',
path: path.resolve(__dirname, '..', 'js', 'browser'),
filename: "rpclibrary.browser.js",
libraryTarget: 'window'
},
resolve: {
extensions: [".ts", ".tsx", ".js"]