Open RobotSail opened 1 year ago
I've described the problem in this issue, but the problem seems to be that the TypeScript signature of removeImports
doesn't allow me to provide my existing config, and merging the result of removeImports()
doesn't seem to have any effect.
@RobotSail
import removeImports from 'next-remove-imports'
const removeImportsFun = removeImports({
options: { },
})
export default removeImportsFun({
reactStrictMode: true,
i18n: {
locales: ["en"],
defaultLocale: "en",
},
})
Thanks @jaywcjlove!
I'm using this package exatcly as described in readme, but unable to import scss at component level still
@ticmaidev https://github.com/uiwjs/next-remove-imports/tree/main/example
You can provide a reproducible example through codesandbox.io, and I'll help you take a look.
Hi all, I'm running into difficulty with using
next-remove-imports
in a project which usesnext.config.mjs
instead of the standardnext.config.js
, which is currently documented. Any guidance on how to proceed here?My config currently looks like this: