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

feat: replace awesome-typescript-loader with ts-loader #9721

Merged
merged 4 commits into from
Jan 13, 2021

Conversation

vlukashov
Copy link

awesome-typescript-loader has not been updated in the last 2 years and does not guarantee compatibility with TypeScript 4+. ts-loader on the other hand is well maintained and tested with TypeScript 4+, and is the most popular Webpack loader for TypeScript files.

Related to #9714.

`awesome-typescript-loader` has not been updated in the last 2 years and does not guarantee compatibility with TypeScript 4+. `ts-loader` on the other hand is well maintained and tested with TypeScript 4+, and is the most popular Webpack loader for TypeScript files.

Related to #9714.
@vlukashov vlukashov added the hilla Issues related to Hilla label Dec 23, 2020
@web-padawan
Copy link
Member

Here is an issue related to using .js extension in TS files which we need to keep in mind:

TypeStrong/ts-loader#465

@haijian-vaadin haijian-vaadin self-assigned this Jan 5, 2021
@haijian-vaadin haijian-vaadin merged commit be4d872 into master Jan 13, 2021
@haijian-vaadin haijian-vaadin deleted the vl/remove-awesome-ts-loader branch January 13, 2021 18:05
haijian-vaadin added a commit that referenced this pull request Jan 14, 2021
haijian-vaadin added a commit that referenced this pull request Jan 14, 2021
haijian-vaadin added a commit that referenced this pull request Jan 19, 2021
platosha pushed a commit that referenced this pull request Jan 21, 2021
* feat: replace awesome-typescript-loader with ts-loader

`awesome-typescript-loader` has not been updated in the last 2 years and does not guarantee compatibility with TypeScript 4+. `ts-loader` on the other hand is well maintained and tested with TypeScript 4+, and is the most popular Webpack loader for TypeScript files.

Related to #9714.

* use the allowTsInNodeModules option for ts-loader

* Revert "use the allowTsInNodeModules option for ts-loader"

This reverts commit 6a61d36.

* use .js instead of .ts in @jsmodule for MyLitField

Co-authored-by: haijian <haijian@vaadin.com>
haijian-vaadin added a commit that referenced this pull request Jan 25, 2021
* feat: replace awesome-typescript-loader with ts-loader (#9721)

* feat: replace awesome-typescript-loader with ts-loader

`awesome-typescript-loader` has not been updated in the last 2 years and does not guarantee compatibility with TypeScript 4+. `ts-loader` on the other hand is well maintained and tested with TypeScript 4+, and is the most popular Webpack loader for TypeScript files.

Related to #9714.

* use the allowTsInNodeModules option for ts-loader

* Revert "use the allowTsInNodeModules option for ts-loader"

This reverts commit 6a61d36.

* use .js instead of .ts in @jsmodule for MyLitField

Co-authored-by: haijian <haijian@vaadin.com>

* fix: remove deprecated script-ext-html-webpack-plugin

Fixes #9714

* fix: disable ts-loader in legacy server-side bootstrap mode

This prevents missing files error from TypeScript / webpack in the IT tests,
which happen when using deprecated Vaadin 14 bootstrapping and not using
TypeScript.

Co-authored-by: Viktor Lukashov <viktor@vaadin.com>
Co-authored-by: haijian <haijian@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hilla Issues related to Hilla +1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants