Skip to content

Allow "main" field in template.js to populate destination template's package.json #8373

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

Closed
azlant opened this issue Jan 26, 2020 · 0 comments · Fixed by #8539
Closed

Allow "main" field in template.js to populate destination template's package.json #8373

azlant opened this issue Jan 26, 2020 · 0 comments · Fixed by #8539

Comments

@azlant
Copy link

azlant commented Jan 26, 2020

Is your proposal related to a problem?

In order to have a template work with electron, the "main" field in the resulting template must be something like "main": "build/electron.js". Currently, there is no way to allow this, as a "main" field in template.json will not populate into the template.

Describe the solution you'd like

"main": "build/electron.js" in template.json transpiles to "main": "build/electron.js" in package.json at root of template.

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

Successfully merging a pull request may close this issue.

1 participant