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

fix(@angular-devkit/build-angular): suppress "@charset" must be the first rule in the file warning #22098

Merged
merged 1 commit into from
Nov 8, 2021
Merged

Commits on Nov 5, 2021

  1. fix(@angular-devkit/build-angular): suppress "@charset" must be the f…

    …irst rule in the file warning
    
    esbuild will issue a warning when `@charset` is in the middle of the file. This is caused by css-loader will concats the file and doesn't hoist `@charset`, (webpack-contrib/css-loader#1212).
    
    While, esbuild will issue a warning regarding the above, it will hoist to the very top.
    
    In many cases, this warning is not actionable by the users as the `@charset` would be likely specified in 3rd party libs.
    
    Closes #22097
    alan-agius4 committed Nov 5, 2021
    Configuration menu
    Copy the full SHA
    9e5e88e View commit details
    Browse the repository at this point in the history