Skip to content

Commit

Permalink
tsconfig fixes 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
justintaylor-dev committed Feb 9, 2023
1 parent 794f241 commit da8cefb
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 5 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bolt-cep",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {
"dev": "vite",
"watch": "tsc && vite build --watch true",
Expand All @@ -14,7 +14,6 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"source-map-js": "^1.0.2",
"vue": "^3.2.45"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.react.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"paths": {
"@esTypes/*": ["./src/jsx"]
}
},
"include": ["./src"],
"exclude": ["./src/jsx"]
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.svelte.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve"
"jsx": "preserve",
"paths": {
"@esTypes/*": ["./src/jsx"]
}
},
"include": ["./src"],
"exclude": ["./src/jsx"]
Expand Down
5 changes: 4 additions & 1 deletion tsconfig.vue.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"resolveJsonModule": true,
"isolatedModules": false,
"noEmit": true,
"jsx": "preserve"
"jsx": "preserve",
"paths": {
"@esTypes/*": ["./src/jsx"]
}
},
"include": ["./src"],
"exclude": ["./src/jsx"]
Expand Down
3 changes: 3 additions & 0 deletions vite.config.react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ if (action) {
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), cep(config)],
resolve: {
alias: [{ find: "@esTypes", replacement: path.resolve(__dirname, "src") }],
},
root,
clearScreen: false,
server: {
Expand Down
3 changes: 3 additions & 0 deletions vite.config.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ export default defineConfig({
svelte({ preprocess: sveltePreprocess({ typescript: true }) }),
cep(config),
],
resolve: {
alias: [{ find: "@esTypes", replacement: path.resolve(__dirname, "src") }],
},
root,
clearScreen: false,
server: {
Expand Down
3 changes: 3 additions & 0 deletions vite.config.vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ if (action) {
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue(), cep(config)],
resolve: {
alias: [{ find: "@esTypes", replacement: path.resolve(__dirname, "src") }],
},
root,
clearScreen: false,
server: {
Expand Down

0 comments on commit da8cefb

Please sign in to comment.