@openmrs/rspack-config 10.0.1-pre.5723 → 10.0.1-pre.5738

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
@@ -89,7 +89,6 @@ const rspack_1 = require("@module-federation/enhanced/rspack");
89
89
  const carbon_css_guard_1 = require("@openmrs/carbon-css-guard");
90
90
  const core_1 = __importStar(require("@rspack/core"));
91
91
  const webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
92
- const webpack_stats_plugin_1 = require("webpack-stats-plugin");
93
92
  const production = 'production';
94
93
  // Read from our own pin rather than `@module-federation/enhanced/package.json`, which its `exports` map
95
94
  // makes unreadable. `parse` rather than `coerce`, so that loosening the pin to a range disables the skew
@@ -487,13 +486,6 @@ exports.default = (env, argv = {}) => {
487
486
  test: /\.[cm]?js$/,
488
487
  banner: buildFederationRuntimeGuard(name, moduleFederationVersion ? `${moduleFederationVersion.major}.${moduleFederationVersion.minor}` : undefined),
489
488
  }),
490
- new webpack_stats_plugin_1.StatsWriterPlugin({
491
- filename: `${filename}.buildmanifest.json`,
492
- stats: {
493
- all: false,
494
- chunks: true,
495
- },
496
- }),
497
489
  ].filter(Boolean), resolve: {
498
490
  extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],
499
491
  alias: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/rspack-config",
3
- "version": "10.0.1-pre.5723",
3
+ "version": "10.0.1-pre.5738",
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.5738",
36
36
  "@rspack/cli": "1.7.9",
37
37
  "@rspack/core": "1.7.9",
38
38
  "@swc/core": "1.15.21",
@@ -48,8 +48,7 @@
48
48
  "style-loader": "3.3.4",
49
49
  "swc-loader": "0.2.7",
50
50
  "ts-checker-rspack-plugin": "1.1.4",
51
- "webpack-bundle-analyzer": "4.10.2",
52
- "webpack-stats-plugin": "1.1.3"
51
+ "webpack-bundle-analyzer": "4.10.2"
53
52
  },
54
53
  "devDependencies": {
55
54
  "@types/lodash-es": "^4.17.12",
package/src/index.ts CHANGED
@@ -58,7 +58,6 @@ import rspack, {
58
58
  type RspackOptionsNormalized as RspackConfiguration,
59
59
  } from '@rspack/core';
60
60
  import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
61
- import { StatsWriterPlugin } from 'webpack-stats-plugin';
62
61
 
63
62
  type OpenmrsRspackConfig = Omit<Partial<RspackConfiguration>, 'module'> & {
64
63
  module: ModuleOptions;
@@ -550,13 +549,6 @@ export default (env: Record<string, string>, argv: Record<string, string> = {})
550
549
  moduleFederationVersion ? `${moduleFederationVersion.major}.${moduleFederationVersion.minor}` : undefined,
551
550
  ),
552
551
  }),
553
- new StatsWriterPlugin({
554
- filename: `${filename}.buildmanifest.json`,
555
- stats: {
556
- all: false,
557
- chunks: true,
558
- },
559
- }),
560
552
  ].filter(Boolean),
561
553
  resolve: {
562
554
  extensions: ['.tsx', '.ts', '.jsx', '.js', '.scss', '.json'],