vite-plugin-federation
vite-plugin-federation copied to clipboard
ModuleFederationPlugin LibraryOptions missing?
Versions
- originjs: v1.1.6
- node: v16.15.1
Reproduction
Additional Details
/**
- default: { type: "var", name: name }
- { type: 'var', name: 'appX' }
- works fine, default export, named export
- con: pollutes global with
appX
var - { type: 'global', name: 'appX' }
- todo: need to check
- { type: "commonjs-module" }
- todo: seen this in SSR setup, need to check */ library?: LibraryOptions;
Steps to reproduce
What is Expected?
What is actually happening?
Please provide a reproduction project.
any news? I want to use the { type: 'var' } pattern of the webpack federal module library, why can't I find it inside this plugin?
@flyfishzy reproduction project of what? This option is missing