Skip to content
Snippets Groups Projects
  • Uladzimir Havenchyk's avatar
    e02589a3
    replace babel-loader with swc-loader (#45843) · e02589a3
    Uladzimir Havenchyk authored
    - babel is kept to transpile fonts file as swc emotion plugin doesn't handle our case correctly. I didn't find a root cause of wrong behaviour, but the safe past is to keep using babel + emotion plugin for one file and all others can be transpiled with swc
    - react fast-refresh now handled by swc
    - swc-loader can't read browserslist config from package.json, so we had to manually specify supported browsers in webpack
    replace babel-loader with swc-loader (#45843)
    Uladzimir Havenchyk authored
    - babel is kept to transpile fonts file as swc emotion plugin doesn't handle our case correctly. I didn't find a root cause of wrong behaviour, but the safe past is to keep using babel + emotion plugin for one file and all others can be transpiled with swc
    - react fast-refresh now handled by swc
    - swc-loader can't read browserslist config from package.json, so we had to manually specify supported browsers in webpack
Code owners
Assign users and groups as approvers for specific file changes. Learn more.