@alauda-fe/dynamic-plugin-sdk-rspack 0.0.1-alpha.7 → 0.0.1-alpha.9

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.
Files changed (2) hide show
  1. package/index.js +8 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -58,6 +58,12 @@ var with_base_config_default = () => (config) => {
58
58
  return merge(config, {
59
59
  module: {
60
60
  rules: [
61
+ {
62
+ test: /\.[cm]?jsx?$/,
63
+ resolve: {
64
+ fullySpecified: false
65
+ }
66
+ },
61
67
  {
62
68
  test: /\.css$/i,
63
69
  resourceQuery: { not: [/ngGlobalStyle/, /ngResource/] },
@@ -90,7 +96,7 @@ var with_base_config_default = () => (config) => {
90
96
  };
91
97
 
92
98
  // libs/dynamic-plugin-sdk-rspack/src/lib/with-host-mfe-config.ts
93
- import { withModuleFederation } from "@nx/module-federation/rspack";
99
+ import { withModuleFederation } from "@nx/module-federation/rspack.js";
94
100
  import { merge as merge2 } from "rspack-merge";
95
101
  var proxy = "http://localhost:8080/";
96
102
  function createRemoteProxy({ disableDevPluginProxy = false } = {}) {
@@ -171,7 +177,7 @@ var with_monaco_editor_default = () => (config) => {
171
177
 
172
178
  // libs/dynamic-plugin-sdk-rspack/src/lib/with-remote-mfe-config.ts
173
179
  import { execSync } from "node:child_process";
174
- import { withModuleFederation as withModuleFederation2 } from "@nx/module-federation/rspack";
180
+ import { withModuleFederation as withModuleFederation2 } from "@nx/module-federation/rspack.js";
175
181
  import { merge as merge4 } from "rspack-merge";
176
182
  var generateName = (name) => {
177
183
  const commitID = execSync("git rev-parse --short HEAD").toString().trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda-fe/dynamic-plugin-sdk-rspack",
3
- "version": "0.0.1-alpha.7",
3
+ "version": "0.0.1-alpha.9",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "types": "./src/index.d.ts",