style: remove baseUrl in frontend plugin

pull/118/head
moonrailgun 2 years ago
parent 43c7dfd462
commit 9f9e473769

@ -16,11 +16,10 @@ pnpm ministar createPlugin
```json ```json
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,11 +1,10 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,11 +1,10 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"importsNotUsedAsValues": "error", "importsNotUsedAsValues": "error",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

@ -1,10 +1,9 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": "./src",
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"paths": { "paths": {
"@capital/*": ["../../../src/plugin/*"], "@capital/*": ["../../src/plugin/*"],
} }
} }
} }

Loading…
Cancel
Save