Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gioboa/vite-module-federation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gioboa/vite-module-federation - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

package.json
{
"name": "@gioboa/vite-module-federation",
"version": "0.2.0",
"version": "0.2.1",
"description": "Vite/Rollup plugin for Module Federation",

@@ -5,0 +5,0 @@ "type": "module",

@@ -34,18 +34,22 @@ # Vite/Rollup plugin for Module Federation

// https://vitejs.dev/config/
export default defineConfig(async () => ({
plugins: [
federation({
options: {
workspaceRoot: __dirname,
outputPath: 'dist',
tsConfig: 'tsconfig.json',
federationConfig: 'module-federation/federation.config.cjs',
verbose: false,
},
adapter: createEsBuildAdapter({
plugins: [],
}),
}),
[...]
],
export default defineConfig(async ({ command }) => ({
server: {
fs: {
allow: ['.', '../shared'],
},
},
plugins: [
federation({
options: {
workspaceRoot: __dirname,
outputPath: 'dist',
tsConfig: 'tsconfig.json',
federationConfig: 'module-federation/federation.config.cjs',
verbose: false,
dev: command === 'serve',
},
adapter: createEsBuildAdapter({ plugins: [...], }),
}),
[...]
],
}));

@@ -52,0 +56,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc