File tree Expand file tree Collapse file tree 2 files changed +16
-21
lines changed Expand file tree Collapse file tree 2 files changed +16
-21
lines changed Original file line number Diff line number Diff line change 1- const nextConfig = ( ) => {
2- /** @type {import('next/dist/server/config').NextConfig } */
3- const config = {
4- compress : true ,
5- images : {
6- formats : [ 'image/avif' , 'image/webp' ] ,
7- loader : 'imgix' ,
8- path : 'https://ultraviolet.scaleway.com' ,
9- } ,
10- poweredByHeader : false ,
11- reactStrictMode : true ,
12- eslint : {
13- ignoreDuringBuilds : true ,
14- } ,
15- transpilePackages : [ 'react-syntax-highlighter' ] ,
16- }
17-
18- return config
1+ const nextConfig = {
2+ compress : true ,
3+ images : {
4+ formats : [ 'image/avif' , 'image/webp' ] ,
5+ loader : 'imgix' ,
6+ path : 'https://ultraviolet.scaleway.com' ,
7+ } ,
8+ poweredByHeader : false ,
9+ reactStrictMode : true ,
10+ eslint : {
11+ ignoreDuringBuilds : true ,
12+ } ,
13+ transpilePackages : [ 'react-syntax-highlighter' ] ,
1914}
2015
21- export default nextConfig ( )
16+ export default nextConfig
Original file line number Diff line number Diff line change 99 },
1010 "private" : true ,
1111 "scripts" : {
12- "dev" : " next dev" ,
13- "build" : " next build" ,
12+ "dev" : " next dev --webpack " ,
13+ "build" : " next build --webpack " ,
1414 "export" : " next export" ,
1515 "start" : " next start"
1616 },
You can’t perform that action at this time.
0 commit comments