We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The single function is nice and simple - but not all is THAT simple.
How does one use libraries?
package.json, go.mod, cargo.toml, gemspec, ...
The text was updated successfully, but these errors were encountered:
Hey @tcurdt , fx does support before_build hook to do the dependency installation, but it has not been added into documentation yet. you can check here. https://github.com/metrue/fx/blob/master/hook/hook_test.go#L9
fx
before_build
and you can just simply add .hooks/before_build file into your directory, and write your installation script into it.
.hooks/before_build
Sorry, something went wrong.
Sorry if I was quicker than the docs :)
So something like this should work?
.hooks/before_build -> `npm install` main.js other.js package.json
other.js and everything in node_modules should then be available?
other.js
node_modules
Thanks!
@tcurdt Yeah, it should be, let me know it does not.
No branches or pull requests
The single function is nice and simple - but not all is THAT simple.
How does one use libraries?
package.json, go.mod, cargo.toml, gemspec, ...
The text was updated successfully, but these errors were encountered: