Skip to content

Commit

Permalink
Merge pull request #15 from bitovi/feature/exercise-routing
Browse files Browse the repository at this point in the history
update marketing
  • Loading branch information
DavidNic11 authored Jul 23, 2024
2 parents 75b70a4 + de627e9 commit b075049
Showing 1 changed file with 1 addition and 54 deletions.
55 changes: 1 addition & 54 deletions packages/shell/rsbuild.config.ts
Original file line number Diff line number Diff line change
@@ -1,59 +1,6 @@
import { defineConfig } from "@rsbuild/core";
import { pluginReact } from "@rsbuild/plugin-react";

console.log(
JSON.stringify(
{
moduleFederation: {
options: {
name: "shell-application",
remotes: {
catalog: `catalog@${process.env.MFE_URL_CATALOG}/remoteEntry.js`,
order: `order@${process.env.MFE_URL_ORDER}/remoteEntry.js`,
profile: `profile@${process.env.MFE_URL_PROFILE}/remoteEntry.js`,
marketing: `marketing@https://marketing-mfe.bitovi-sandbox.com/remoteEntry.js`,
workshop: `workshop@${process.env.MFE_URL_WORKSHOP}/workshop.js`,
},
shared: {
"@mantine/core": {
requiredVersion: "^7.10.2",
singleton: true,
},
"@mantine/emotion": {
requiredVersion: false,
singleton: true,
},
"@mantine/notifications": {
requiredVersion: false,
singleton: true,
},
"react-router-dom": {
requiredVersion: "^6.23.1",
singleton: true,
},
react: {
requiredVersion: "^18.2.0",
singleton: true,
eager: true,
},
"react-dom": {
requiredVersion: "^18.2.0",
singleton: true,
eager: true,
},
"@tanstack/react-query": {
requiredVersion: "^5.48.0",
singleton: true,
},
},
},
},
},
null,
2
)
);

export default defineConfig({
output: {
sourceMap: {
Expand Down Expand Up @@ -82,7 +29,7 @@ export default defineConfig({
catalog: `catalog@${process.env.MFE_URL_CATALOG}/remoteEntry.js`,
order: `order@${process.env.MFE_URL_ORDER}/remoteEntry.js`,
profile: `profile@${process.env.MFE_URL_PROFILE}/remoteEntry.js`,
marketing: `marketing@${process.env.MFE_URL_MARKETING}/remoteEntry.js`,
marketing: `marketing@https://marketing-mfe.bitovi-sandbox.com/remoteEntry.js`,
workshop: `workshop@${process.env.MFE_URL_WORKSHOP}/workshop.js`,
},
shared: {
Expand Down

0 comments on commit b075049

Please sign in to comment.