@openmrs/webpack-config 10.0.1-pre.5723 → 10.0.1-pre.5741

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
@@ -60,7 +60,6 @@ const webpack_1 = require("webpack");
60
60
  // webpack's own browsers-to-features mapping
61
61
  const browserslistTargetHandler_1 = __importDefault(require("webpack/lib/config/browserslistTargetHandler"));
62
62
  const webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
63
- const webpack_stats_plugin_1 = require("webpack-stats-plugin");
64
63
  const webpack_2 = require("@module-federation/enhanced/webpack");
65
64
  const carbon_css_guard_1 = require("@openmrs/carbon-css-guard");
66
65
  const production = 'production';
@@ -496,13 +495,6 @@ exports.default = (env, argv = {}) => {
496
495
  test: /\.[cm]?js$/,
497
496
  banner: buildFederationRuntimeGuard(name, moduleFederationVersion ? `${moduleFederationVersion.major}.${moduleFederationVersion.minor}` : undefined),
498
497
  }),
499
- new webpack_stats_plugin_1.StatsWriterPlugin({
500
- filename: `${filename}.buildmanifest.json`,
501
- stats: {
502
- all: false,
503
- chunks: true,
504
- },
505
- }),
506
498
  ].filter(Boolean), resolve: {
507
499
  extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],
508
500
  alias: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/webpack-config",
3
- "version": "10.0.1-pre.5723",
3
+ "version": "10.0.1-pre.5741",
4
4
  "license": "MPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "homepage": "https://github.com/openmrs/openmrs-esm-core#readme",
33
33
  "dependencies": {
34
34
  "@module-federation/enhanced": "2.8.1",
35
- "@openmrs/carbon-css-guard": "10.0.1-pre.5723",
35
+ "@openmrs/carbon-css-guard": "10.0.1-pre.5741",
36
36
  "@swc/core": "1.15.21",
37
37
  "browserslist": "4.28.9",
38
38
  "browserslist-config-openmrs": "^1.0.1",
@@ -51,8 +51,7 @@
51
51
  "swc-loader": "0.2.7",
52
52
  "webpack": "5.105.3",
53
53
  "webpack-bundle-analyzer": "4.10.2",
54
- "webpack-cli": "6.0.1",
55
- "webpack-stats-plugin": "1.1.3"
54
+ "webpack-cli": "6.0.1"
56
55
  },
57
56
  "devDependencies": {
58
57
  "@types/lodash-es": "4.17.12",
package/src/index.ts CHANGED
@@ -63,7 +63,6 @@ import {
63
63
  // webpack's own browsers-to-features mapping
64
64
  import browserslistTargetHandler from 'webpack/lib/config/browserslistTargetHandler';
65
65
  import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
66
- import { StatsWriterPlugin } from 'webpack-stats-plugin';
67
66
  import { ModuleFederationPlugin } from '@module-federation/enhanced/webpack';
68
67
  import { CarbonCssGuardPlugin } from '@openmrs/carbon-css-guard';
69
68
 
@@ -603,13 +602,6 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
603
602
  moduleFederationVersion ? `${moduleFederationVersion.major}.${moduleFederationVersion.minor}` : undefined,
604
603
  ),
605
604
  }),
606
- new StatsWriterPlugin({
607
- filename: `${filename}.buildmanifest.json`,
608
- stats: {
609
- all: false,
610
- chunks: true,
611
- },
612
- }),
613
605
  ].filter(Boolean),
614
606
  resolve: {
615
607
  extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],