0

Updating a Next js project to use SWC over Babel, no problems building the project but all the files are slightly larger (2-10kb).

// next.config.js
module.exports = {
    ...
    compiler: {
        reactRemoveProperties: { properties: ['^data-cy$'] }
    },
    swcMinify: true,
}
sujan basnet
  • 190
  • 2
  • 12

0 Answers0