Adding next.js plugin to T3?
if I want to add a next plugin to t3 do I just add it to the arg in
defineNextConfig
?4 Replies
specifically, this plugin: https://www.npmjs.com/package/next-remove-imports
npm
next-remove-imports
The default behavior is to remove all
.less
/.css
/.scss
/.sass
/.styl
imports from all packages in node_modules.. Latest version: 1.0.7, last published: 2 months ago. Start using next-remove-imports in your project by running npm i next-remove-imports
. There is 1 other project in the npm registry using next-remove-imports.yes
in next config
I'm a little confused on exactly how to write it in though @nexxel
just follow the readme
and use import instead of require cause we're using mjs