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

Implement use of .svelte-kit with hot-reloading #540

Merged
merged 1 commit into from Mar 28, 2023
Merged

Conversation

PeterJFB
Copy link
Contributor

Some svelte-types are only inferred correctly when tsconfig extends .svelte-kit/tsconfig. This has therefore been an attempt to combine the two files.

The setup to use <script lang="ts"> in svelte was also not fully configured, and required a ts-bump to be compatible with our project.

The bump has also led to refactoring the code to new ts-syntax.

@PeterJFB PeterJFB mentioned this pull request Feb 28, 2023
Copy link
Member

@LudvigHz LudvigHz left a comment

Choose a reason for hiding this comment

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

Looks good!!

app/algorithms/normal.ts Outdated Show resolved Hide resolved
@PeterJFB PeterJFB force-pushed the svelte-tsconfig branch 5 times, most recently from 0ee88e1 to 2496426 Compare March 15, 2023 12:07
@PeterJFB
Copy link
Contributor Author

Had a hard time working with webpack and its ts types, ended up migrating the config-file away from js, but keeping the old one since it's used by build:client-old.

@PeterJFB PeterJFB requested a review from LudvigHz March 21, 2023 17:10
Copy link
Member

Choose a reason for hiding this comment

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

What happened to the other webpack configs? Shouldn't this be a rename of the old file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

#540 (comment)
^^^^^^^

Copy link
Member

Choose a reason for hiding this comment

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

ah sorry 🙃

Copy link
Member

@LudvigHz LudvigHz left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@PeterJFB PeterJFB merged commit 0187422 into master Mar 28, 2023
1 check passed
@PeterJFB PeterJFB deleted the svelte-tsconfig branch March 28, 2023 09:10
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.

None yet

2 participants