Skip to content
Merged
36 changes: 26 additions & 10 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
swcMinify: true,
reactStrictMode: true,
swcMinify: true,
};
const path = require("path");
const withSass = require("@zeit/next-sass");
const path = require('path');
const withSass = require('@zeit/next-sass');
module.exports = withSass({
/* bydefault config option Read For More Optios
/* bydefault config option Read For More Optios
here https://github.com/vercel/next-plugins/tree/master/packages/next-sass
*/
cssModules: true,
cssModules: true,
});
module.exports = {
/* Add Your Scss File Folder Path Here */
sassOptions: {
includePaths: [path.join(__dirname, "assets")],
},
/* Add Your Scss File Folder Path Here */
sassOptions: {
includePaths: [path.join(__dirname, 'assets')],
},
};

module.exports = {
eslint: {
// Warning: This allows production builds to successfully complete even if
// your project has ESLint errors.
ignoreDuringBuilds: true,
},

typescript: {
// !! WARN !!
// Dangerously allow production builds to successfully complete even if
// your project has type errors.
// !! WARN !!
ignoreBuildErrors: true,
},
};
Loading