We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76939b6 commit 83b1caeCopy full SHA for 83b1cae
1 file changed
packages/react-valibot/tsup.config.ts
@@ -12,7 +12,7 @@ const DEPENDENT_PATHS = [
12
'redux-store/src/index.ts'
13
];
14
15
-const config: typeof baseConfig = {
+const commonConfig: typeof baseConfig = {
16
...baseConfig,
17
entry: {
18
'botframework-webchat-react-valibot': './src/index.ts'
@@ -22,14 +22,14 @@ const config: typeof baseConfig = {
22
23
export default defineConfig([
24
{
25
- ...config,
+ ...commonConfig,
26
env: { ...baseConfig.env, module_format: 'esmodules' },
27
format: 'esm'
28
},
29
30
31
env: { ...baseConfig.env, module_format: 'commonjs' },
32
format: 'cjs',
33
- target: [...config.target, 'es2019']
+ target: [...commonConfig.target, 'es2019']
34
}
35
]);
0 commit comments