refactor: update VSCode configurations and scripts for improved compatibility and performance
This commit is contained in:
@@ -17,12 +17,12 @@ export default defineConfig({
|
||||
filename: '[name].js',
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['...', '.ts', '.tsx', '.jsx'],
|
||||
extensions: ['...', '.ts', '.tsx'],
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(jsx?|tsx?)$/,
|
||||
test: /\.(tsx?)$/,
|
||||
use: [
|
||||
{
|
||||
loader: 'builtin:swc-loader',
|
||||
@@ -64,7 +64,6 @@ export default defineConfig({
|
||||
css: true,
|
||||
},
|
||||
performance: {
|
||||
maxEntrypointSize: 1024000,
|
||||
maxAssetSize: 1024000,
|
||||
hints: false,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user