Various build and developer fixes, some optimizations (#2975)
* Various build and developer fixes, some optimizations * Fix the linux build * Fix afterpack * Fix notarization variables * Revert macos-notification-state changes from this PR * Only build the tar for PRs * Also ci * Fix copy script * Fix copy script more * Remove @babel/cli * Fix windows build * Fix MAS build
This commit is contained in:
@@ -12,8 +12,6 @@ const {merge} = require('webpack-merge');
|
||||
|
||||
const base = require('./webpack.config.base');
|
||||
|
||||
const WEBSERVER_PORT = process.env.WEBSERVER_PORT ?? 9001;
|
||||
|
||||
module.exports = merge(base, {
|
||||
entry: {
|
||||
e2e: glob.sync('./e2e/specs/**/*.test.js'),
|
||||
@@ -22,12 +20,6 @@ module.exports = merge(base, {
|
||||
path: path.resolve(__dirname, 'dist/tests'),
|
||||
filename: '[name]_bundle.js',
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
test: /\.(js|jsx|ts|tsx)?$/,
|
||||
use: ['babel-loader'],
|
||||
}],
|
||||
},
|
||||
externals: {
|
||||
fs: 'require("fs")',
|
||||
ws: 'require("ws")',
|
||||
@@ -44,9 +36,6 @@ module.exports = merge(base, {
|
||||
__filename: false,
|
||||
__dirname: false,
|
||||
},
|
||||
devServer: {
|
||||
port: WEBSERVER_PORT,
|
||||
},
|
||||
target: 'electron-main',
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user