Question||'build' in the application package.json is not supported since 3.0
See original GitHub issue‘build’ in the application package.json is not supported since 3.0 anymore. Please move ‘build’ into the development package.json. How can I setting like this:
"build": {
"appId": "test.com",
"win": {
"icon": "public/windows.ico"
}
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Why is build not being read in my package.json?
I'm trying to build an electron app with react, but my windows options are not being read. I first run react-scripts build to...
Read more >Common Configuration
in the package.json file of your project using the build key on the top level: ... If you want to use js file,...
Read more >Configuration Reference
js is an optional config file that will be automatically loaded by @vue/cli-service if it's present in your project root (next to package.json...
Read more >Options | electron-packager
By default the version property in the package.json is used, but it can be overridden with this argument. If neither are provided, the...
Read more >electron-builder | Yarn - Package Manager
A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

See the docs on configuring electron builder. Set your
vue.config.jsto this:thanks you @nklayman !!