question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

34reactions
nklaymancommented, Jul 8, 2019

See the docs on configuring electron builder. Set your vue.config.js to this:

module.exports = {
  pluginOptions: {
    electronBuilder: {
      builderOptions: {
        appId: 'test.com',
        win: {
          icon: 'public/windows.ico'
        }
      }
    }
  }
}
0reactions
lucaslgrcommented, Oct 20, 2022

thanks you @nklayman !!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found