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
Adding types #12875
Adding types #12875
Conversation
For maintainers only:
|
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
Can you accept CLA? |
I think I found the link to accept. Done. |
Weird that checks failed now. |
Ignore this |
commit 58dfda2 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Sun Mar 14 20:33:03 2021 +0100 5.25.1 commit 3f2a269 Merge: e643b85 69218d4 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Sun Mar 14 20:32:00 2021 +0100 Merge pull request webpack#12891 from webpack/bugfix/non-js-entry fix problem with startup of non-js initial chunks commit 69218d4 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Sun Mar 14 19:54:34 2021 +0100 fix problem with startup of non-js initial chunks fixes webpack#12880 commit e643b85 Merge: be352e8 61cc65c Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Fri Mar 12 14:47:23 2021 +0100 Merge pull request webpack#12750 from RReverser/remove-worker-type-module commit 61cc65c Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Fri Mar 12 12:09:02 2021 +0100 improve parsing to handle non-literal options commit e839494 Author: Ingvar Stepanyan <rreverser@google.com> Date: Mon Feb 22 17:43:38 2021 +0000 Disallow type:module + importScripts in tests commit ea2cdeb Author: Ingvar Stepanyan <rreverser@google.com> Date: Mon Feb 22 16:25:24 2021 +0000 Remove `type: 'module` from `new Worker` exprs Fixes webpack#12686. commit be352e8 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Fri Mar 12 08:49:03 2021 +0100 5.25.0 commit ab74839 Merge: bcf3cb2 c014665 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 21:00:05 2021 +0100 Merge pull request webpack#12871 from webpack/feature/generate-asset add `emit` option for asset modules commit bcf3cb2 Merge: 8ea0a6a 7245527 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 20:34:48 2021 +0100 Merge pull request webpack#12872 from webpack/bugfix/ignore-asset-modules allow to define "ignored modules" per dependency commit c014665 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 19:31:33 2021 +0100 update cli snapshots commit 7572217 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 18:44:41 2021 +0100 add `emit` option for asset modules fixes webpack#12474 commit 7245527 Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 15:04:53 2021 +0100 allow to define "ignored modules" per dependency new URL() will use `"data:"` when ignore commit 85a6eee Author: Tobias Koppers <tobias.koppers@googlemail.com> Date: Thu Mar 11 16:41:19 2021 +0100 move parser.filename back to generator.filename
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please avoid changes in code
Any chance to see this reviewed and merged? |
This PR is broken and I can't modify it. Closing in favor of #14855 |
What kind of change does this PR introduce?
This exposes more type definitions that are required for proper plugin development using Typescript.
Did you add tests for your changes?
There are no existing type tests. Added the types and ran the
fix
script as directed.Does this PR introduce a breaking change?
Np, there are no type changes, just adding to the final export. The
fix
script changed the actual definition file. My edit was only tolib/index.js
What needs to be documented once your changes are merged?
Nothing. Typescript is self documentation.