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

Migration to Vite #153

Merged
merged 24 commits into from
Feb 8, 2024
Merged

Migration to Vite #153

merged 24 commits into from
Feb 8, 2024

Conversation

LaChope
Copy link
Collaborator

@LaChope LaChope commented Jan 24, 2024

Resolves #151

@LaChope LaChope requested a review from blcham January 25, 2024 10:26
Copy link
Contributor

@blcham blcham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments

tsconfig.json Outdated Show resolved Hide resolved
<!-- Runtime environment variables -->
<!-- With Vite, type must be text/javascript, see:
https://stackoverflow.com/questions/70617812/change-environmet-variables-at-runtime-react-vite-with-docker-and-nginx-->
<script type="text/javascript" src="/config.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not believe this is good. Will it work for kbss...../fta/ or even kbss...../fta/xxx/yyy

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure but maybe it needs to be src="./config.js"

@blcham blcham self-requested a review January 25, 2024 17:03
@blcham blcham mentioned this pull request Jan 26, 2024
5 tasks
@LaChope LaChope merged commit 1e00672 into main Feb 8, 2024
1 check passed
@LaChope LaChope deleted the vite-migration branch February 8, 2024 13:34
emptyOutDir: true,
rollupOptions: {
output: {
entryFileNames: "index.js"
Copy link
Contributor

@blcham blcham Feb 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this? It is related to b14257e . @LaChope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate FTA-FMEA-UI to Vite
2 participants