-
Notifications
You must be signed in to change notification settings - Fork 11
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
Migrate to vite and vitest and update matrix-widget-toolkit dependencies #702
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Weimann <[email protected]>
|
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: MTRNord <[email protected]>
Signed-off-by: MTRNord <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
i18n | ||
.use(ChainedBackend) | ||
.use(WidgetApiLanguageDetector) | ||
.use(languageDetector) | ||
.use(initReactI18next) | ||
.init({ | ||
fallbackLng: 'en', |
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.
Line below. process.env.NODE_ENV
is not a vite thing.
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
Signed-off-by: Michael Weimann <[email protected]>
import { defineConfig } from 'vite'; | ||
|
||
export default defineConfig({ | ||
test: { | ||
alias: { | ||
// solve "You are loading @emotion/react when it is already loaded…" issue |
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.
I feel like we could also use this in neoboard :D there we see the same thing :)
✔️ Checklist
Signed-off-by
line in the message (more info).PX4-77