File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
packages/react-strict-dom/tools Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ component_syntax=true
16
16
module.name_mapper='^react-strict-dom$' -> '<PROJECT_ROOT>/packages/react-strict-dom/dist/native/index.js.flow'
17
17
module.system.node.resolve_dirname=flow_modules
18
18
module.system.node.resolve_dirname=node_modules
19
+ react.runtime=automatic
19
20
suppress_type=$FlowIssue
20
21
suppress_type=$FlowFixMe
21
22
Original file line number Diff line number Diff line change @@ -55,7 +55,10 @@ const webConfigs = [
55
55
file : path . join ( __dirname , '../dist/dom/index.js' ) ,
56
56
format : 'es'
57
57
} ,
58
- plugins : [ ...sharedPlugins ]
58
+ plugins : [ ...sharedPlugins ] ,
59
+ treeshake : {
60
+ moduleSideEffects : false ,
61
+ } ,
59
62
} ,
60
63
// Runtime
61
64
{
@@ -65,7 +68,10 @@ const webConfigs = [
65
68
file : path . join ( __dirname , '../dist/dom/runtime.js' ) ,
66
69
format : 'es'
67
70
} ,
68
- plugins : [ ...sharedPlugins ]
71
+ plugins : [ ...sharedPlugins ] ,
72
+ treeshake : {
73
+ moduleSideEffects : false ,
74
+ } ,
69
75
}
70
76
] ;
71
77
You can’t perform that action at this time.
0 commit comments