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

Typescript support #747

Merged
merged 6 commits into from
Mar 15, 2019
Merged

Typescript support #747

merged 6 commits into from
Mar 15, 2019

Conversation

ForsakenHarmony
Copy link
Member

No description provided.

loader: 'awesome-typescript-loader',
options: {
silent: true,
useBabel: true,
Copy link
Member

Choose a reason for hiding this comment

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

I think this will break BabelEsmPlugin, which looks for babel-loader.

Would it be possible to run awesome-ts-loader as {enforce:'pre'} and then pass /\.[tj]sx?/ files to babel-loader after?

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm good question

@@ -108,6 +110,9 @@
"stack-trace": "0.0.10",
"style-loader": "^0.23.1",
"sw-precache-webpack-plugin": "^0.11.2",
"terser-webpack-plugin": "^1.1.0",
"typescript": "^3.3.3333",
"unfetch": "^4.0.1",
Copy link

Choose a reason for hiding this comment

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

Just curious, what are we doing with unfetch ?

Copy link
Member Author

Choose a reason for hiding this comment

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

good question, no idea where that came from, probably something old that slipped in

@sync
Copy link

sync commented Mar 7, 2019

Would be great to get “plug and play” ts support

@ForsakenHarmony ForsakenHarmony force-pushed the typescript branch 3 times, most recently from 41dabe3 to ba8f4c0 Compare March 11, 2019 22:42
@ForsakenHarmony ForsakenHarmony requested a review from lukeed March 11, 2019 22:43
@ForsakenHarmony ForsakenHarmony force-pushed the typescript branch 2 times, most recently from 7c29ba2 to 2d25317 Compare March 14, 2019 17:05
@ForsakenHarmony ForsakenHarmony merged commit 3bf3a2b into next Mar 15, 2019
@ForsakenHarmony ForsakenHarmony deleted the typescript branch March 15, 2019 14:16
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.

3 participants