mirror of https://github.com/go-gitea/gitea.git
webpack polyfills did not work because useBuiltIns: 'entry' expects a explicit core-js import. Changed it to 'usage' which does not require these explicit imports and polyfills based on browserslist. As a result, the built index.js now went from 128kB to 192kB. Ref: https://babeljs.io/docs/en/babel-preset-env#usebuiltinspull/9764/head
parent
b13b9d3dbd
commit
3e23dad075
Loading…
Reference in New Issue