mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update templates for Yarn compatibility
This commit is contained in:
@@ -35,6 +35,7 @@ Obj/
|
||||
!/wwwroot/dist/_placeholder.txt
|
||||
!/ClientApp/dist/_placeholder.txt
|
||||
|
||||
/yarn.lock
|
||||
|
||||
# MSTest test Results
|
||||
[Tt]est[Rr]esult*/
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"moduleResolution": "node",
|
||||
"target": "es6",
|
||||
"jsx": "preserve",
|
||||
@@ -7,7 +8,11 @@
|
||||
"sourceMap": true,
|
||||
"skipDefaultLibCheck": true,
|
||||
"lib": ["es6", "dom"],
|
||||
"types": [ "webpack-env", "whatwg-fetch" ]
|
||||
"types": [ "webpack-env", "whatwg-fetch" ],
|
||||
"paths": {
|
||||
// Fixes "Duplicate identifier 'Redux'" error when packages were installed via Yarn (by specifying which .d.ts file is authoritative)
|
||||
"redux": ["./node_modules/@types/redux/index"]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"bin",
|
||||
|
||||
Reference in New Issue
Block a user