mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
🔧 Update next.config.mjs
This commit is contained in:
parent
937151d872
commit
af752b3754
1 changed files with 4 additions and 7 deletions
|
|
@ -1,7 +1,3 @@
|
|||
import million from 'million/compiler';
|
||||
|
||||
const millionConfig = { auto: true }
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
|
|
@ -287,10 +283,11 @@ const nextConfig = {
|
|||
}
|
||||
}
|
||||
|
||||
import million from 'million/compiler';
|
||||
import withMDX from '@next/mdx'
|
||||
const withMDXConfig = withMDX({ extension: /\.mdx?$/ })
|
||||
|
||||
import withTM from 'next-transpile-modules'
|
||||
|
||||
const withMDXConfig = withMDX({ extension: /\.mdx?$/ })
|
||||
const withAnimeJS = withTM(['animejs'])
|
||||
|
||||
export default million.next(withAnimeJS(withMDXConfig(nextConfig)), millionConfig);
|
||||
export default million.next(withAnimeJS(withMDXConfig(nextConfig)), { auto: true });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue