Skip to content

Commit 83b1cae

Browse files
committed
Clean up
1 parent 76939b6 commit 83b1cae

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/react-valibot/tsup.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const DEPENDENT_PATHS = [
1212
'redux-store/src/index.ts'
1313
];
1414

15-
const config: typeof baseConfig = {
15+
const commonConfig: typeof baseConfig = {
1616
...baseConfig,
1717
entry: {
1818
'botframework-webchat-react-valibot': './src/index.ts'
@@ -22,14 +22,14 @@ const config: typeof baseConfig = {
2222

2323
export default defineConfig([
2424
{
25-
...config,
25+
...commonConfig,
2626
env: { ...baseConfig.env, module_format: 'esmodules' },
2727
format: 'esm'
2828
},
2929
{
30-
...config,
30+
...commonConfig,
3131
env: { ...baseConfig.env, module_format: 'commonjs' },
3232
format: 'cjs',
33-
target: [...config.target, 'es2019']
33+
target: [...commonConfig.target, 'es2019']
3434
}
3535
]);

0 commit comments

Comments
 (0)