Closed abhijithvijayan closed 5 years ago
Is it like
this?
module.exports = withPlugins(
[
withCSS,
withLess
]
],
{
webpack: (config, options) => {
/** custom code */
}
);
@jzhu1224 Does it really matter if I don't include Less in the project as I use Sass already.
I need to use with a monorepo project that has
next/sass
&next/css
already set up the original example has this config https://github.com/zeit/next.js/blob/canary/examples/with-ant-design/next.config.jsmy current config file is https://github.com/onepassapp/onepass/blob/master/packages/web/next.config.js
how do I use in the current file?