@gioboa/vite-module-federation
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"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 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
567111
71
0