-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy patharui-scripts.config.ts
More file actions
36 lines (34 loc) · 922 Bytes
/
arui-scripts.config.ts
File metadata and controls
36 lines (34 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { type PackageSettings } from 'arui-scripts';
const aruiScriptsConfig: PackageSettings = {
presets: './presets',
clientPolyfillsEntry: './src/polyfills.js',
serverEntry: './src/server/index',
clientEntry: './src/client',
componentsTheme: '../../node_modules/@alfalab/core-components/themes/corp.css',
keepCssVars: false,
debug: true,
codeLoader: 'swc',
jestCodeTransformer: 'swc',
compatModules: {
shared: {
react: 'react',
'react-dom': 'reactDOM',
},
},
modules: {
shared: {
react: {
eager: true,
requiredVersion: '^18.0.0',
},
'react-dom': {
eager: true,
requiredVersion: '^18.0.0',
},
},
},
experimentalReactCompiler: {
target: '18',
},
};
export default aruiScriptsConfig;