framework/js/tsconfig.json
David Wheatley 3537f76eab
Update core to use new Webpack config, flarum-tsconfig, and build action (#2856)
* 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
2021-05-13 00:28:17 +01:00

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"
}
}