-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddfc211
commit 4b7ff27
Showing
39 changed files
with
1,114 additions
and
1,384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,26 @@ | ||
{ | ||
"include": ["**/*.ts", "**/*.tsx"], | ||
"compilerOptions": { | ||
"target": "ESNext", | ||
"lib": ["DOM", "DOM.Iterable", "ESNext"], | ||
"module": "ESNext", | ||
|
||
/* Options for bundlers & React integration */ | ||
"target": "ES2020", | ||
"useDefineForClassFields": true, | ||
"jsx": "react-jsx", | ||
"skipLibCheck": true, // Report mostly false positive | ||
"moduleResolution": "node", // Allow `index` imports | ||
"resolveJsonModule": true, // Allow json import | ||
"forceConsistentCasingInFileNames": true, // Avoid difference in case between filename and import | ||
"allowSyntheticDefaultImports": true, // Required for json import | ||
"noEmit": true, // Transpilation done by SWC or esbuild | ||
"isolatedModules": true, // Required by esbuild for parallelization | ||
"module": "ES2020", | ||
"lib": ["ES2020", "DOM", "DOM.Iterable"], | ||
|
||
/* Bundler mode */ | ||
"moduleResolution": "bundler", | ||
"allowImportingTsExtensions": true, | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"noEmit": true, | ||
|
||
/* Linting */ | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"useUnknownInCatchVariables": true | ||
"useUnknownInCatchVariables": true, | ||
"noPropertyAccessFromIndexSignature": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import react from "@vitejs/plugin-react-swc"; | ||
import { defineConfig } from "vite"; | ||
|
||
import { downwind } from "../../dist/vite"; | ||
import { downwind } from "../../dist/vite.js"; | ||
|
||
// eslint-disable-next-line import/no-default-export | ||
export default defineConfig({ plugins: [react(), downwind()] }); |
Oops, something went wrong.