@openmrs/webpack-config 6.2.1-pre.2862 → 6.2.1-pre.2876

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -214,7 +214,16 @@ exports.default = (env, argv = {}) => {
214
214
  maxInitialRequests: 1,
215
215
  },
216
216
  }, exports.optimizationConfig), plugins: [
217
- new fork_ts_checker_webpack_plugin_1.default(),
217
+ new fork_ts_checker_webpack_plugin_1.default({
218
+ issue: {
219
+ exclude: [
220
+ {
221
+ severity: 'error',
222
+ code: 'TS2786',
223
+ },
224
+ ],
225
+ },
226
+ }),
218
227
  new clean_webpack_plugin_1.CleanWebpackPlugin(),
219
228
  new webpack_bundle_analyzer_1.BundleAnalyzerPlugin({
220
229
  analyzerMode: env && env.analyze ? 'server' : 'disabled',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/webpack-config",
3
- "version": "6.2.1-pre.2862",
3
+ "version": "6.2.1-pre.2876",
4
4
  "license": "MPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "src/index.ts",
package/src/index.ts CHANGED
@@ -263,7 +263,16 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
263
263
  optimizationConfig,
264
264
  ),
265
265
  plugins: [
266
- new ForkTsCheckerWebpackPlugin(),
266
+ new ForkTsCheckerWebpackPlugin({
267
+ issue: {
268
+ exclude: [
269
+ {
270
+ severity: 'error',
271
+ code: 'TS2786',
272
+ },
273
+ ],
274
+ },
275
+ }),
267
276
  new CleanWebpackPlugin(),
268
277
  new BundleAnalyzerPlugin({
269
278
  analyzerMode: env && env.analyze ? 'server' : 'disabled',