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
Donny D
Donny DOP3y ago
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.
nexxel
nexxel3y ago
yes in next config
Donny D
Donny DOP3y ago
I'm a little confused on exactly how to write it in though @nexxel
nexxel
nexxel3y ago
just follow the readme and use import instead of require cause we're using mjs
Want results from more Discord servers?
Add your server