Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextron exports the build results to "app" directory, so please set "distDir" to "../app" in next.config.js #478

Open
yanquer opened this issue Jul 23, 2024 · 1 comment

Comments

@yanquer
Copy link

yanquer commented Jul 23, 2024

why not allow set distDir?

In nextjs14. I can run next build src/renderer with dist: "../../app" ,

why nextron not allow?

my project


├── src
 │   ├── main
 │   ├── renderer

nextron.config.js

module.exports = {
  // specify an alternate main src directory, defaults to 'main'
  mainSrcDir: 'src/main',
  // specify an alternate renderer src directory, defaults to 'renderer'
  rendererSrcDir: 'src/renderer',

  // main process' webpack config
  webpack: (config, env) => {
    // do some stuff here
    return config
  },
}


@RocksWon
Copy link

I don't know but nextron js tends to have lots of problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants