Skip to content

Commit

Permalink
added paths @ in tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
gajda-w committed May 18, 2022
1 parent 5452a4c commit 0383f48
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
1 change: 1 addition & 0 deletions sandbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import ReactDOM from "react-dom";
import { style } from "typestyle";
import { ReactPDFEditor } from "../src";


export const AppContainer = style({
$debugName: "AppContainer",
fontFamily: "Fira Sans",
Expand Down
25 changes: 21 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,26 @@
"incremental": true,
"strict": true,
"outDir": "./lib",
"lib": ["es6", "es7", "esnext", "dom"],
"lib": [
"es6",
"es7",
"esnext",
"dom"
],
"rootDir": "./src",
"baseUrl": "./src/"
"baseUrl": "./src/",
"paths": {
"@/*": [
"./src/*"
],
"sandbox/*": [
"./sandbox/*"
]
},
},
"exclude": ["lib", "node_modules", "sandbox"]
}
"exclude": [
"lib",
"node_modules",
"sandbox"
]
}

0 comments on commit 0383f48

Please sign in to comment.