Arquivos
VoTT/config/webpack.common.js
Wallace Breza 345dbbdb28 fix: Fixes issue where user is unable to navigate to new project screen (#629)
Resolves the issue where user is unable to navigate to new project screen from the homepage. This also addresses other strange behavior related to routing in the app.

-User being navigated to the homepage after creating a connection
-Refresh application button not working

Resolves AB#17258, 17263, 17058
2019-03-01 10:12:44 -08:00

33 linhas
717 B
JavaScript

const path = require("path");
module.exports = {
node: {
__dirname: false,
},
target: "electron-main",
entry: "./src/electron/main.ts",
module: {
rules: [
{
test: /\.ts?$/,
use: [{
loader: "ts-loader",
options: {
compilerOptions: {
noEmit: false
}
}
}],
exclude: /node_modules/
}
]
},
resolve: {
extensions: [".ts", ".js"]
},
output: {
filename: "main.js",
path: path.resolve(__dirname, "../build")
}
};