- Updates [moduleResolution](https://www.typescriptlang.org/tsconfig/#moduleResolution) to `bundler`, like RWP and most other bundled packages - Adds `replaywebpage` as a dependency - Fixes issues from changing moduleResolution (mostly just file extension updates for shoelace components) Resolves the issue initially reported in https://github.com/webrecorder/replayweb.page/issues/376
37 lines
844 B
JSON
37 lines
844 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"module": "esnext",
|
|
"target": "es6",
|
|
"moduleResolution": "bundler",
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"importHelpers": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"plugins": [
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-missing-import": "off",
|
|
},
|
|
"maxNodeModuleImportDepth": -1,
|
|
},
|
|
],
|
|
"incremental": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"~assets/*": ["./src/assets/*"],
|
|
},
|
|
"lib": ["DOM", "DOM.Iterable", "ES2021.WeakRef"],
|
|
},
|
|
"include": ["**/*.ts"],
|
|
"exclude": ["node_modules"],
|
|
}
|