#`removeImports` accepts the next config

1 messages · Page 1 of 1 (latest)

still peak
#

Hi @small trench - Like this?

// next.config.js
const removeImports = require('next-remove-imports')();
module.exports = removeImports({nextConfig});
small trench
#

you dont need the {}

still peak
#

module.exports = removeImports(nextConfig); ???

small trench
#

yeah