mirror of
https://github.com/flarum/framework.git
synced 2024-11-28 20:16:08 +08:00
3537f76eab
* Update core to use new Webpack and TSConfig * Bump webpack dep * Update JS build action * Copy custom `.d.ts` files to `dist-typings` folder on typings compile * Run workflow against action v2 This allows us to have a moving tag, like first party actions have. * Remove bundle analyzer from core * Use webpack config 0.1.0-beta.16.2 * Add note about checking flarum-tsconfig
19 lines
575 B
JSON
19 lines
575 B
JSON
// NOTE:
|
|
// If you're looking at core's `tsconfig.json` for the "perfect"
|
|
// tsconfig for your erxtension, look at the dedicated tsconfig
|
|
// repo instead.
|
|
//
|
|
// https://github.com/flarum/flarum-tsconfig
|
|
|
|
{
|
|
// Use Flarum's tsconfig as a starting point
|
|
"extends": "flarum-tsconfig",
|
|
// This will match all .ts, .tsx, .d.ts, .js, .jsx files
|
|
"include": ["src/**/*", "@types/**/*"],
|
|
"compilerOptions": {
|
|
// This will output typings to `dist-typings`
|
|
// If you change this, also change the `package.json` clean script
|
|
"declarationDir": "./dist-typings"
|
|
}
|
|
}
|