Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Remove original source #64

Closed
wants to merge 10 commits into from
Closed

Remove original source #64

wants to merge 10 commits into from

Conversation

anaisbetts
Copy link
Contributor

This PR allows you to optionally remove the original source files, leaving only the .cache folder.

Unfortunately, because node.js’s module system attempts to realpath the files before actually accessing them, we have to create a fake file tree using a stub ASAR archive, then add it to the global paths. This is kinda hacky, but not that hacky.

@anaisbetts
Copy link
Contributor Author

Ugh, this doesn't actually work - module won't run down the global paths, it'll only search relative to the opening file

@anaisbetts anaisbetts closed this Feb 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant