Unfortunately, for proper package pathing, need to remove the `site/` subpath. This includes: - Moving everything back into root - Adding a `copy-site.sh` script to copy resources into `mkdocs/site/` before building the site with mkdocs. - Also update examples to ensure all are loading the local sw.js / ui.js - Consolidate examples in `docs/examples` - Consolidate assets under src/assets/ - Move `favicons` to root - Reformat and relint - Tests: update playwright tests to use mkdocs output, add test for embed in docs - bump to 2.0.0-beta.2
37 lines
880 B
JSON
37 lines
880 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "./dist/",
|
|
"module": "esnext",
|
|
"target": "es6",
|
|
"moduleResolution": "node",
|
|
"allowJs": true,
|
|
"strict": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"declarationDir": "./dist/types",
|
|
"noImplicitAny": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"importHelpers": true,
|
|
"sourceMap": true,
|
|
"inlineSources": true,
|
|
"skipLibCheck": true,
|
|
"plugins": [
|
|
{
|
|
"name": "ts-lit-plugin",
|
|
"strict": true,
|
|
"rules": {
|
|
"no-missing-import": "off"
|
|
},
|
|
"maxNodeModuleImportDepth": -1
|
|
}
|
|
],
|
|
"incremental": true,
|
|
"paths": {
|
|
"flexsearch": ["./node_modules/@types/flexsearch"],
|
|
"~assets/*": ["./src/assets/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.js", "src/**/*.d.ts"]
|
|
}
|