You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
What I had in mind was something like this.
I think this will NOT work on distribution since the node_modules would be in a different location.
Also I find worrisome I had to change the css link.
Otherwise we could put another package.json in the src folder.
But the two package.json doesn't seem necessary anymore with the newer versions of electron-builder and I think this is a bit of a contributor barrier.
I still don't have any idea how to change the path for distribution in case of single package.json.
At this point I don't have strong opinions: thoughts?
@ficristo The changes looks good to me. But I have a different question. When I tried to check the changes on my local machine, I had to do a npm install. Is that expected when someone clones the repo for dev setup?
I tryed to hack something but I wasn't able to make grunt build to pass. (In the specific grunt requirejs)
If nobody has some bright idea I don't think this will work, as is, on distribution.
I'll create a new package.json inside src and see how this will work.
Of course #12940 is still a choice.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
3 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I had in mind was something like this.
I think this will NOT work on distribution since the node_modules would be in a different location.
Also I find worrisome I had to change the css link.
Ref #12940