The whole idea of parcel was that it was configless. Now parcel 2 needs a config file. At that point, why not use webpack?
30 lines
796 B
JSON
30 lines
796 B
JSON
{
|
|
"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/**/*"
|
|
]
|
|
} |