Migrated from parcel to webpack
The whole idea of parcel was that it was configless. Now parcel 2 needs a config file. At that point, why not use webpack?
This commit is contained in:
30
tsconfig.json
Normal file
30
tsconfig.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
// Settings for the compiler
|
||||
"outDir": "./dist/",
|
||||
"sourceMap": true,
|
||||
"target": "es2015",
|
||||
"module": "ESNext",
|
||||
|
||||
// Rules for your code
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitReturns": true,
|
||||
"noUnusedParameters": true,
|
||||
"noUnusedLocals": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitOverride": true,
|
||||
|
||||
// Settings for linking source files
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"experimentalDecorators": true,
|
||||
|
||||
},
|
||||
// Folder for your code
|
||||
"include": [
|
||||
"./src/**/*"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user