tron-v1
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

25 lines
488 B

/** @type {import('next').NextConfig} */
const withLess = require('next-with-less');
const nextConfig = {
webpack: (config) => {
config.module.rules.push({
test: /\.less$/,
use: [
'style-loader',
'css-loader',
{
loader: 'less-loader',
options: {
lessOptions: {
javascriptEnabled: true,
},
},
},
],
});
return config;
},
};
module.exports = nextConfig;