-
-
Notifications
You must be signed in to change notification settings - Fork 593
fix(template-typescript-webpack): preload file to webpack config #2936
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
Conversation
I added the preload script to the package.json file, so it would get compiled by Webpack. When you initialize the project it does not work, because the file is not compiled by Webpack. This change would solve this, by adding it to the compiler.
Codecov Report
@@ Coverage Diff @@
## master #2936 +/- ##
==========================================
+ Coverage 71.31% 71.32% +0.01%
==========================================
Files 79 79
Lines 2412 2413 +1
Branches 452 452
==========================================
+ Hits 1720 1721 +1
+ Misses 563 469 -94
- Partials 129 223 +94
Continue to review full report at Codecov.
|
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts
Outdated
Show resolved
Hide resolved
packages/template/typescript-webpack/src/TypeScriptWebpackTemplate.ts
Outdated
Show resolved
Hide resolved
…late.ts Co-authored-by: Gregory Reburn <gmreburn@gmail.com>
Are we ready to merge it, or is there a couple more checks that needs to be done? @erickzhao @gmreburn |
I think it's ready :) |
Summarize your changes:
I added the preload script to the package.json file, so it would get compiled by Webpack. When you initialize the project it does not work, because the file is not compiled by Webpack. This change would solve this, by adding it to the compiler.
closes #2935