Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
gingerbenw committed Apr 23, 2024
1 parent 8092572 commit f3e42f5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
1 change: 1 addition & 0 deletions test/electron/fixtures/app/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
packagerConfig: {
asar: true
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
Expand Down
4 changes: 2 additions & 2 deletions test/electron/fixtures/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 6 additions & 11 deletions test/electron/fixtures/app/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"name": "electron-test-runner",
"productName": "Runner",
"main": ".webpack/main",
"name": "Runner",
"version": "1.0.2",
"description": "My Electron application description",
"main": ".webpack/main",
"scripts": {
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"publish": "electron-forge publish",
"lint": "echo \"No linting configured\""
"make": "electron-forge make"
},
"devDependencies": {
"@electron-forge/cli": "^7.4.0",
Expand All @@ -26,13 +23,11 @@
"electron": "*",
"node-loader": "^2.0.0"
},
"keywords": [],
"author": {
"name": "Ben Wilson",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {
"electron-squirrel-startup": "^1.0.0"
},
"config": {
"forge": "./forge.config.js"
}
}
11 changes: 7 additions & 4 deletions test/electron/fixtures/app/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ module.exports = {
output: {
filename: '[name].js'
},
plugins: [
new webpack.ProgressPlugin()
],
resolve: {
fallback: {
fs: false,
path: false
path: require.resolve('path-browserify')
}
},
plugins: [
new webpack.ProgressPlugin()
],
module: {
rules: require('./webpack.rules')
}
}

0 comments on commit f3e42f5

Please sign in to comment.