File tree Expand file tree Collapse file tree 6 files changed +32986
-3859
lines changed Expand file tree Collapse file tree 6 files changed +32986
-3859
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ engine-strict = true
Original file line number Diff line number Diff line change 2
2
/* eslint-disable @typescript-eslint/no-var-requires */
3
3
const externallyEmbeddableIFrameResponseHeaders =
4
4
require ( "./src/shared-module/utils/responseHeaders" ) . externallyEmbeddableIFrameResponseHeaders
5
+ const svgoConfig = require ( "./src/shared-module/utils/svgoConfig" )
5
6
6
7
const config = {
7
8
eslint : {
8
9
ignoreDuringBuilds : true ,
9
10
} ,
10
- output : "standalone" ,
11
11
async headers ( ) {
12
12
return [
13
13
{
@@ -22,6 +22,32 @@ const config = {
22
22
} ,
23
23
]
24
24
} ,
25
+ output : "standalone" ,
26
+ webpack ( config ) {
27
+ config . module . rules . push ( {
28
+ test : / \. s v g $ / i,
29
+ issuer : / \. [ j t ] s x ? $ / ,
30
+ loader : "@svgr/webpack" ,
31
+ options : {
32
+ svgoConfig : svgoConfig ,
33
+ } ,
34
+ } )
35
+
36
+ return config
37
+ } ,
38
+ compiler : {
39
+ emotion : {
40
+ autoLabel : "always" ,
41
+ labelFormat : "[dirname]--[filename]--[local]" ,
42
+ } ,
43
+ } ,
44
+ experimental : {
45
+ modularizeImports : {
46
+ lodash : {
47
+ transform : "lodash/{{member}}" ,
48
+ } ,
49
+ } ,
50
+ } ,
25
51
}
26
52
27
53
if ( process . env . NEXT_PUBLIC_BASE_PATH ) {
You can’t perform that action at this time.
0 commit comments