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

Add a way for offline installation #132

Closed
tychenjiajun opened this issue Apr 15, 2022 · 3 comments
Closed

Add a way for offline installation #132

tychenjiajun opened this issue Apr 15, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request needs info

Comments

@tychenjiajun
Copy link

It seems that yarn install sass-embedded will download embedded-protocol and dart-sass-embedded from Github, which makes it impossible to succeed in a network that has no Github access?

@nex3 nex3 self-assigned this Apr 18, 2022
@nex3
Copy link
Contributor

nex3 commented Apr 18, 2022

We download these files on installation because we don't know until installation-time which specific operating system x architecture combination you'll need. I don't think it's feasible for us to bundle all of the embedded executables with the npm package, so how else could we make them available?

@nex3 nex3 added enhancement New feature or request needs info labels Apr 18, 2022
@tychenjiajun
Copy link
Author

In node-sass, we have binary configuration parameters. Can we have a similar config in this project?

@nex3
Copy link
Contributor

nex3 commented Apr 25, 2022

Specifying a proxy server isn't really "offline" so much as "online from a different place". I think #117 is what you want, which will make Dart Sass follow npm's conventions for locating proxy servers.

@nex3 nex3 closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs info
Projects
None yet
Development

No branches or pull requests

2 participants