-
Notifications
You must be signed in to change notification settings - Fork 270
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
exclude dist folder from dev branch #280
Comments
I think the dist is necessary for publishing. What is the problem that is
happening?
…On Thu, Aug 31, 2023, 18:53 Naoto Hieda ***@***.***> wrote:
Assigned #280 <#280> to @ojack
<https://github.com/ojack>.
—
Reply to this email directly, view it on GitHub
<#280 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOVSMADX3I5HH6AAWE7R3XYC6R5ANCNFSM6AAAAAA4GLWCWU>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
Trying to remember earlier conversations, but I think a big motivation for
including the /dist (in addition to the current deployment process) is that
people who have no experience with build tools or node installed can
download and use hydra locally, without having to do anything else.
I am also open to other ways of doing this! but dont want to remove /dist
until there are workable alternatives for both things.
re: merging-- is it possible to delete the dist files as you are merging,
and then regenerate once the merge has happened? this big of a restructure
shouldn't happen too often, so hopefully once the merge happens it won't be
too complicated.
…On Fri, Sep 1, 2023 at 11:19 AM Naoto Hieda ***@***.***> wrote:
@ojack <https://github.com/ojack> that's what I thought. But it got
confusing when I was trying to merge dev into another branch (diverged from
dev). I think it's better to build it on the server, instead, I guess? Or
github actions + vite build and publish to a separate branch like this
<https://github.com/sitek94/vite-deploy-demo-custom-domain>? I can
experiment with it
—
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOVSNXK2GKZWIMKVRZD4TXYGSBTANCNFSM6AAAAAA4GLWCWU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
yes, I remember - while I agree with your point making it accessible, it's true that those who may want to use the editor needs to go through some steps on the backend (setting up http server etc). My main motivation is before dev (vite) replaces main (browserify), we should clean up the pipeline. Given these points, maybe I should reframe this issue into "add docs for developers". I see there's already commands in the readme, but for those who want to make minor edits to the code, it may be helpful to have a small intro to how vite works (which file it is reading) and if someone wants to use their own hydra-synth, how can they use it in their self-hosted editor. |
Ahh yes, this all makes sense!
…On Fri, Sep 1, 2023, 12:52 Naoto Hieda ***@***.***> wrote:
yes, I remember - while I agree with your point making it accessible, it's
true that those who may want to use the editor needs to go through some
steps on the backend (setting up http server etc).
My main motivation is before dev (vite) replaces main (browserify), we
should clean up the pipeline. Given these points, maybe I should reframe
this issue into "add docs for developers". I see there's already commands
in the readme, but for those who want to make minor edits to the code, it
may be helpful to have a small intro to how vite works (which file it is
reading) and if someone wants to use their own hydra-synth, how can they
use it in their self-hosted editor.
—
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOVSLH5TIAHML2ZCHWPC3XYG46VANCNFSM6AAAAAA4GLWCWU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@ojack as first step I made a draft in v2 doc - can I go ahead and merge? |
looks great!
…On Fri, Sep 1, 2023 at 3:04 PM Naoto Hieda ***@***.***> wrote:
@ojack <https://github.com/ojack> as first step I made a draft in v2 doc
- can I go ahead and merge?
hydra-synth/hydra-docs-v2#3
<hydra-synth/hydra-docs-v2#3>
—
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFOVSN4UI6XOYX6WY6IVOLXYHMORANCNFSM6AAAAAA4GLWCWU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
build.outDir: "dist"
in vite.config.js to make it explicitI always have confusion when switching between main and dev 😓
The text was updated successfully, but these errors were encountered: