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:
Milton
2021-10-31 20:27:50 -03:00
parent f19236e258
commit 93ec2e7fb6
6 changed files with 5313 additions and 12918 deletions

30
tsconfig.json Normal file
View 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/**/*"
]
}