File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change 9
9
*
10
10
* @type {boolean } prevent TS from narrowing this to its current value
11
11
*/
12
- const BUILD_VARIANT = true ;
12
+ const BUILD_VARIANT = false ;
13
13
14
14
/**
15
15
* Server-side test names for running variant test.
Original file line number Diff line number Diff line change @@ -139,20 +139,13 @@ module.exports = ({ build }) => ({
139
139
svgr ,
140
140
] ,
141
141
} ,
142
- /**
143
- * Do not alias React modules in the web build variant so React is bundled
144
- * instead of Preact
145
- */
146
- resolve :
147
- build === 'client.web.variant'
148
- ? undefined
149
- : {
150
- alias : {
151
- react : 'preact/compat' ,
152
- 'react-dom/test-utils' : 'preact/test-utils' ,
153
- 'react-dom' : 'preact/compat' ,
154
- } ,
155
- } ,
142
+ resolve : {
143
+ alias : {
144
+ react : 'preact/compat' ,
145
+ 'react-dom/test-utils' : 'preact/test-utils' ,
146
+ 'react-dom' : 'preact/compat' ,
147
+ } ,
148
+ } ,
156
149
} ) ;
157
150
158
151
module . exports . transpileExclude = {
You can’t perform that action at this time.
0 commit comments