Skip to content

Commit

Permalink
Switch to next.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
albarv340 committed Oct 8, 2024
1 parent 488bdd9 commit ffbcbc1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/* eslint-env node */
// eslint-ignore-next-line import/no-unresolved
const { withPigment } = require('@pigment-css/nextjs-plugin');
import { withPigment } from '@pigment-css/nextjs-plugin';
import { createRequire } from 'module';

const require = createRequire(import.meta.url);

const { extendTheme } = require('@mui/material/styles');

/**
Expand Down Expand Up @@ -119,4 +123,4 @@ const nextConfig = {
},
};

module.exports = withPigment(nextConfig, pigmentOptions);
export default withPigment(nextConfig, pigmentOptions);
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @type {import('next').NextConfig} */
module.exports = {
export default {
reactStrictMode: true,
};
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
export default {
reactStrictMode: true,
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/** @type {import('next').NextConfig} */
module.exports = {
export default {
reactStrictMode: true,
};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
webpack5: false,
eslint: {
ignoreDuringBuilds: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
eslint: {
ignoreDuringBuilds: true,
},
Expand Down

0 comments on commit ffbcbc1

Please sign in to comment.