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

fix: bump project to vite #1137

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlejandroPerez92
Copy link
Contributor

@AlejandroPerez92 AlejandroPerez92 commented Dec 7, 2024

@PacoVK I’ve had to open a new PR to resolve the conflicts.

  • With the VITE env component, it’s easier to maintain env values. It reads them from .env files and can be overwritten by .env.environment files.
  • The CSS is fixed. It seems that the .css files are no longer used. Can you confirm this?

Thank you!

Copy link
Owner

@PacoVK PacoVK left a comment

Choose a reason for hiding this comment

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

Overall this looks very good, i only have some leftover questions i like to understand regarding your typescript config files :)
Thanks a lot!

"noEmit": true,
"jsx": "react-jsx",

/* Linting */
Copy link
Owner

Choose a reason for hiding this comment

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

All linting rules are already specified in the tsconfig.node.json we should not duplicate them here, right?

"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
Copy link
Owner

Choose a reason for hiding this comment

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

All bundler rules, except the jsx setting, are already specified in the tsconfig.node.json we should not duplicate them here, right?

{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2020",
Copy link
Owner

Choose a reason for hiding this comment

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

shouldn't we adhere to the setting in tsconfig.node.json? This also applies to

    "lib": ["ES2023"],
    "module": "ESNext",
    "skipLibCheck": true,

Or was there a particular reason?

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.

2 participants