You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having type declaration for the loader and its supported options would allow projects using typescripts (either because they use webpack.config.ts or because they use it to check JS code with --checkJs) to validate their options against the supported options (and potentially to get IDE completion as well, depending on how they write their code).
https://github.com/webpack/tooling/ has reusable tools to generate type declarations for supported options based on the JSON schema, used by webpack itself for its supported options. It could probably be reused by this loader.
Feature Use Case
Please paste the results of npx webpack-cli info here, and mention other relevant information
The text was updated successfully, but these errors were encountered:
Feature Proposal
Having type declaration for the loader and its supported options would allow projects using typescripts (either because they use
webpack.config.ts
or because they use it to check JS code with--checkJs
) to validate their options against the supported options (and potentially to get IDE completion as well, depending on how they write their code).https://github.com/webpack/tooling/ has reusable tools to generate type declarations for supported options based on the JSON schema, used by webpack itself for its supported options. It could probably be reused by this loader.
Feature Use Case
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: