-
-
Notifications
You must be signed in to change notification settings - Fork 917
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
Feature: Vite Build #3569
Feature: Vite Build #3569
Conversation
for anyone else reviewing. re-execution of @VitroidFPV , However |
This comment has been minimized.
This comment has been minimized.
It seems to be an issue with the copy plugin, I'm not sure why it's going wrong when it should just be copying some files. Will investigate |
@nerdCopter the plugin used copies the files for builds but serves them directly when used in dev. I picked a different one that will just copy them no questions asked in both envs. Try now! |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
I will look into the LESS loading issues, but that may be for another PR |
same exact result. |
|
AUTOMERGE: (FAIL)
|
Do you want to test this code? Here you have an automated build: |
Do you want to test this code? Here you have an automated build: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving.
working today. did not have to do anything different. 🔮🤷♂️
serveLocalesPlugin(), | ||
copy({ | ||
targets: [ | ||
{ src: ["locales", "resources", "src/tabs", "src/images"], dest: "src/dist" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, guessing we can't have /dist
in the root
because of root
setting in vite config 🤔 Having it in src
feels like will backfire
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting and good catch. but it is ignored by default (.gitignore
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was already set up that way in #3292. But yeah in src
it will probably come back to bite us. What do you suggest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we look into
i don't really understand the errors. they do go away upon re-execution. they tend to only present themselves with new code/execution
yarn build
outputs intosrc/dist/
. Should be ready to be deployed