More specifically, the .js or .jsx files touched in previous commits for https://github.com/agama-project/agama/pull/1690. Apart from the expected changes to make the migration possible, there were two changes that worth a remark: * Make optional `description` and `icon` for the software/Product type. * Add the `custom.d.ts` file and make tsconfig.json file aware of it in order to avoid TypeScript complaints in the src/layout/Icon.ts file because missing types in the icons library. To know more read https://webpack.js.org/guides/typescript/#importing-other-assets
21 lines
575 B
JSON
21 lines
575 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./",
|
|
"outDir": "dist/",
|
|
"isolatedModules": true,
|
|
"target": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"allowJs": true,
|
|
"jsx": "react",
|
|
"allowSyntheticDefaultImports": true,
|
|
"types": ["node", "jest", "@testing-library/jest-dom", "webpack-env"],
|
|
"paths": {
|
|
"~/*": ["src/*"],
|
|
"~/client": ["src/client/index.js"],
|
|
"@icons/*": ["node_modules/@material-symbols/svg-400/outlined/*"]
|
|
}
|
|
},
|
|
"include": ["src", "custom.d.ts"]
|
|
}
|