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
Since it is valid to use js file from public directory on index.html we can add some linting to warn the user when using a typescript module on the script without type module.
Suggested solution
Modify buildHtmlPlugin in src/node/plugins/html.ts to warn the user using config.logger.warn
Clear and concise description of the problem
Since it is valid to use
js
file from public directory onindex.html
we can add some linting to warn the user when using a typescript module on the script without type module.Suggested solution
Modify
buildHtmlPlugin
insrc/node/plugins/html.ts
to warn the user usingconfig.logger.warn
Alternative
No response
Additional context
This enhancement comes from this entry on discord with Alec Parson: https://discord.com/channels/804011606160703521/814182556068085760/913493338404028487
Validations
The text was updated successfully, but these errors were encountered: