diff --git a/node_modules/@originjs/vite-plugin-federation/dist/index.js b/node_modules/@originjs/vite-plugin-federation/dist/index.js
index 980b8e3..534e796 100644
--- a/node_modules/@originjs/vite-plugin-federation/dist/index.js
+++ b/node_modules/@originjs/vite-plugin-federation/dist/index.js
@@ -301,11 +301,20 @@ function createRemotesMap(remotes) {
       return `'${external}'`;
     }
   };
+// JsView Modified >>>
+//   return `const remotesMap = {
+// ${remotes.map(
+//     (remote) => `'${remote.id}':{url:${createUrl(remote)},format:'${remote.config.format}',from:'${remote.config.from}'}`
+//   ).join(",\n  ")}
+// };`;
   return `const remotesMap = {
 ${remotes.map(
     (remote) => `'${remote.id}':{url:${createUrl(remote)},format:'${remote.config.format}',from:'${remote.config.from}'}`
   ).join(",\n  ")}
-};`;
+};;
+window.JsvCode.Federation = { remotesMap };
+`;
+// JsView Modified <<<
 }
 function getFileExtname(url) {
   const fileNameAndParamArr = normalizePath(url).split("/");
@@ -970,8 +979,11 @@ function prodExposePlugin(options) {
         const filepathMap = /* @__PURE__ */ new Map();
         const getFilename = (name) => path.parse(path.parse(name).name).name;
         const cssBundlesMap = Object.keys(bundle).filter((name) => path.extname(name) === ".css").reduce((res, name) => {
-          const filename = getFilename(name);
-          res.set(filename, bundle[name]);
+// JsView Removed >>>
+// JsView js代码中已内嵌css
+          //const filename = getFilename(name);
+          //res.set(filename, bundle[name]);
+// JsView Removed <<<                 
           return res;
         }, /* @__PURE__ */ new Map());
         remoteEntryChunk.code = remoteEntryChunk.code.replace(
@@ -1481,6 +1493,16 @@ function federation(options) {
       }
       builderInfo.builder = "vite";
       builderInfo.assetsDir = ((_b = config == null ? void 0 : config.build) == null ? void 0 : _b.assetsDir) ?? "assets";
+// JsView Added >>>
+// 根据chunkFile路径设置assetsDir
+      let chunkFileNames = config.build.rollupOptions.output.chunkFileNames;
+      if (typeof (chunkFileNames) === 'function') {
+        chunkFileNames = chunkFileNames({name: 'test.js'})
+      }
+      const jsDir = path.dirname(chunkFileNames);
+      builderInfo.assetsDir = jsDir;
+      console.log("builderInfo",builderInfo);
+// JsView Added <<<
     },
     configureServer(server) {
       var _a;
diff --git a/node_modules/@originjs/vite-plugin-federation/dist/index.mjs b/node_modules/@originjs/vite-plugin-federation/dist/index.mjs
index 57bae8f..3b3c2c1 100644
--- a/node_modules/@originjs/vite-plugin-federation/dist/index.mjs
+++ b/node_modules/@originjs/vite-plugin-federation/dist/index.mjs
@@ -284,11 +284,20 @@ function createRemotesMap(remotes) {
       return `'${external}'`;
     }
   };
+// JsView Modified >>>
+//   return `const remotesMap = {
+// ${remotes.map(
+//     (remote) => `'${remote.id}':{url:${createUrl(remote)},format:'${remote.config.format}',from:'${remote.config.from}'}`
+//   ).join(",\n  ")}
+// };`;
   return `const remotesMap = {
 ${remotes.map(
     (remote) => `'${remote.id}':{url:${createUrl(remote)},format:'${remote.config.format}',from:'${remote.config.from}'}`
   ).join(",\n  ")}
-};`;
+};;
+window.JsvCode.Federation = { remotesMap };
+`;
+// JsView Modified <<<
 }
 function getFileExtname(url) {
   const fileNameAndParamArr = normalizePath(url).split("/");
@@ -953,8 +962,11 @@ function prodExposePlugin(options) {
         const filepathMap = /* @__PURE__ */ new Map();
         const getFilename = (name) => parse(parse(name).name).name;
         const cssBundlesMap = Object.keys(bundle).filter((name) => extname(name) === ".css").reduce((res, name) => {
-          const filename = getFilename(name);
-          res.set(filename, bundle[name]);
+// JsView Removed >>>
+// JsView js代码中已内嵌css
+          //const filename = getFilename(name);
+          //res.set(filename, bundle[name]);
+// JsView Removed <<<
           return res;
         }, /* @__PURE__ */ new Map());
         remoteEntryChunk.code = remoteEntryChunk.code.replace(
@@ -1464,6 +1476,16 @@ function federation(options) {
       }
       builderInfo.builder = "vite";
       builderInfo.assetsDir = ((_b = config == null ? void 0 : config.build) == null ? void 0 : _b.assetsDir) ?? "assets";
+// JsView Added >>>
+// 根据chunkFile路径设置assetsDir
+      let chunkFileNames = config.build.rollupOptions.output.chunkFileNames;
+      if (typeof (chunkFileNames) === 'function') {
+        chunkFileNames = chunkFileNames({name: 'test.js'})
+      }
+      const jsDir = path.dirname(chunkFileNames);
+      builderInfo.assetsDir = jsDir;
+      console.log("builderInfo",builderInfo);
+// JsView Added <<<
     },
     configureServer(server) {
       var _a;
