Last active
January 24, 2019 10:56
-
-
Save tomma5o/dcac9bf85533db589196975e88aa5385 to your computer and use it in GitHub Desktop.
jsconfig Starter for simple React projects
This file contains hidden or 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
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es6", | |
"module": "commonjs", | |
"moduleResolution": "classic", | |
"baseUrl": "./app/", | |
"paths": { | |
// here not allowed more than one * | |
// specify index.js when use folder names in imports | |
"components/*": ["./components/*/index.js"], | |
"containers/*": ["./containers/*/index.js"], | |
"utils/*": ["./utils/*"], | |
}, | |
}, | |
// /**/* only accepted in include/exclude prop | |
"include": ["./app/**/*"], | |
"exclude": ["./node_modules"], | |
"compileOnSave": true, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment