Skip to content

Commit b14ea65

Browse files
committed
Fix linter errors
1 parent a4c6585 commit b14ea65

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ozone-ui/src/vite.config.shared.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,28 +39,28 @@ export const getVendorChunks = () => ({
3939
*/
4040
export const getOptimizeDepsConfig = () => ({
4141
include: ['react', 'react-dom', 'antd', '@ant-design/icons', 'react-router-dom', 'axios'],
42-
force: false // Set to true temporarily if you need to force re-optimization
42+
force: false, // Set to true temporarily if you need to force re-optimization
4343
});
4444

4545
/**
4646
* Common build configuration
4747
*/
4848
export const getBuildConfig = (outDir: string) => ({
49-
target: "es2015",
49+
target: 'es2015',
5050
outDir,
5151
rollupOptions: {
5252
output: {
5353
chunkFileNames: 'static/js/[name]-[hash].js',
5454
entryFileNames: 'static/js/[name]-[hash].js',
5555
assetFileNames: (assetInfo: any) => {
56-
const extName = assetInfo.name!.split(".")[1];
56+
const extName = assetInfo.name!.split('.')[1];
5757
if (/css/.test(extName)) {
5858
return `static/css/[name]-[hash].${extName}`;
5959
} else {
6060
return `static/media/[name]-[hash].${extName}`;
6161
}
6262
},
63-
manualChunks: getVendorChunks()
64-
}
65-
}
63+
manualChunks: getVendorChunks(),
64+
},
65+
},
6666
});

0 commit comments

Comments
 (0)