before rsbuild remove
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -11,6 +11,7 @@ dist/
|
|||||||
.rspack-profile-*/
|
.rspack-profile-*/
|
||||||
|
|
||||||
# IDE
|
# IDE
|
||||||
.vscode/*
|
|
||||||
!.vscode/extensions.json
|
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
# Env
|
||||||
|
.env*
|
@@ -1,4 +0,0 @@
|
|||||||
# Lock files
|
|
||||||
package-lock.json
|
|
||||||
pnpm-lock.yaml
|
|
||||||
yarn.lock
|
|
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"singleQuote": true
|
|
||||||
}
|
|
2100
package-lock.json
generated
Normal file
2100
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -1,21 +1,25 @@
|
|||||||
{
|
{
|
||||||
"name": ".profile",
|
"name": "tymur999.com",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rsbuild build",
|
"build": "rsbuild build",
|
||||||
"dev": "rsbuild dev --open",
|
"dev": "rsbuild dev --open",
|
||||||
"format": "prettier --write .",
|
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"preview": "rsbuild preview"
|
"preview": "rsbuild preview"
|
||||||
},
|
},
|
||||||
|
"browserslist": [
|
||||||
|
"last 2 versions",
|
||||||
|
"not dead",
|
||||||
|
"> 0.5%"
|
||||||
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^9.30.0",
|
"@eslint/js": "^9.30.0",
|
||||||
"@rsbuild/core": "^1.4.3",
|
"@rsbuild/core": "^1.4.3",
|
||||||
|
"@rsbuild/plugin-react": "^1.3.4",
|
||||||
"eslint": "^9.30.0",
|
"eslint": "^9.30.0",
|
||||||
"globals": "^16.2.0",
|
"globals": "^16.2.0",
|
||||||
"prettier": "^3.6.2",
|
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"typescript-eslint": "^8.35.1"
|
"typescript-eslint": "^8.35.1"
|
||||||
}
|
}
|
||||||
|
@@ -1,3 +1,56 @@
|
|||||||
import { defineConfig } from '@rsbuild/core';
|
import { defineConfig } from '@rsbuild/core';
|
||||||
|
import { pluginReact } from '@rsbuild/plugin-react';
|
||||||
|
|
||||||
export default defineConfig({});
|
export default defineConfig({
|
||||||
|
// configure Rsbuild plugins
|
||||||
|
plugins: [
|
||||||
|
pluginReact({ fastRefresh: true, })
|
||||||
|
],
|
||||||
|
|
||||||
|
// options for build performance and runtime performance
|
||||||
|
performance: {
|
||||||
|
buildCache: true,
|
||||||
|
removeConsole: true
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for build outputs
|
||||||
|
output: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for local development
|
||||||
|
dev: {
|
||||||
|
liveReload: true,
|
||||||
|
hmr: true,
|
||||||
|
lazyCompilation: true,
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for HTML generation
|
||||||
|
html: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for the low-level tools
|
||||||
|
tools: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for module resolution
|
||||||
|
resolve: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for input source code
|
||||||
|
source: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for the Rsbuild server,
|
||||||
|
// will take effect during local development and preview
|
||||||
|
server: {
|
||||||
|
open: false,
|
||||||
|
},
|
||||||
|
|
||||||
|
// options for Web security
|
||||||
|
security: {
|
||||||
|
},
|
||||||
|
|
||||||
|
// define different Rsbuild configurations for each environment
|
||||||
|
environments: {
|
||||||
|
},
|
||||||
|
});
|
||||||
|
@@ -1,22 +1,24 @@
|
|||||||
{
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["DOM", "ES2020"],
|
"lib": ["DOM", "ESNext"],
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"noEmit": true,
|
"noEmit": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"useDefineForClassFields": true,
|
"useDefineForClassFields": true,
|
||||||
|
"jsx": "react-jsx",
|
||||||
|
|
||||||
/* modules */
|
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"verbatimModuleSyntax": true,
|
"verbatimModuleSyntax": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
|
"isolatedModules": true,
|
||||||
"allowImportingTsExtensions": true,
|
"allowImportingTsExtensions": true,
|
||||||
|
|
||||||
/* type checking */
|
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"noUnusedLocals": true,
|
"erasableSyntaxOnly": true,
|
||||||
"noUnusedParameters": true
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"noUncheckedSideEffectImports": true
|
||||||
},
|
},
|
||||||
"include": ["src"]
|
"include": ["src"],
|
||||||
}
|
}
|
Reference in New Issue
Block a user