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

support single file in extraResources, extraFiles #1119

Closed
farfromrefug opened this issue Jan 16, 2017 · 0 comments · May be fixed by qcif/data-curator#563
Closed

support single file in extraResources, extraFiles #1119

farfromrefug opened this issue Jan 16, 2017 · 0 comments · May be fixed by qcif/data-curator#563
Labels

Comments

@farfromrefug
Copy link

@farfromrefug farfromrefug commented Jan 16, 2017

Right now if you put a file path in extraResources or extraFiles, you get an error "directory does not exist".
It would be nice to be able to put a single file in there. The idea is that you can use this to rename a file while packaging.
For example i have a node_modules which comes with a toto.js and toto.min.js. and it requires the toto.js. In prod i would like to package the min instead, but for it to be required correctly i need to rename the min file.

@develar develar added the feature label Jan 16, 2017
@develar develar changed the title [FR] support single file in extraResources, extraFiles support single file in extraResources, extraFiles Jan 31, 2017
develar added a commit to develar/electron-builder that referenced this issue Jan 31, 2017
@develar develar closed this in 55e2f0d Jan 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants