@module-federation/esbuild 0.0.0-next-20240528203231 → 0.0.0-next-20240529015908
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/build.cjs.js +62 -654
- package/dist/build.esm.js +62 -639
- package/dist/get-externals.cjs.js +6 -5
- package/dist/get-externals.esm.js +6 -5
- package/dist/index.cjs.d.ts +1 -0
- package/dist/index.cjs.js +2 -11
- package/dist/index.esm.js +3 -1
- package/dist/package.json +3 -3
- package/dist/plugin.cjs.d.ts +1 -0
- package/dist/{esbuild.cjs.js → plugin.cjs.js} +23 -210
- package/dist/{esbuild.esm.js → plugin.esm.js} +18 -205
- package/dist/src/adapters/lib/react-replacements.d.ts +9 -0
- package/dist/src/build.d.ts +5 -0
- package/dist/src/index.d.ts +2 -0
- package/dist/src/lib/config/configuration-context.d.ts +7 -0
- package/dist/src/lib/config/federation-config.d.ts +30 -0
- package/dist/src/lib/config/share-utils.d.ts +29 -0
- package/dist/src/lib/config/with-native-federation.d.ts +23 -0
- package/dist/src/lib/core/build-adapter.d.ts +4 -0
- package/dist/src/lib/core/default-skip-list.d.ts +12 -0
- package/dist/src/lib/core/federation-options.d.ts +10 -0
- package/dist/src/lib/core/get-externals.d.ts +2 -0
- package/dist/src/lib/core/load-federation-config.d.ts +6 -0
- package/dist/src/lib/core/write-federation-info.d.ts +9 -0
- package/dist/src/lib/utils/logger.d.ts +11 -0
- package/dist/src/lib/utils/mapped-paths.d.ts +10 -0
- package/dist/src/lib/utils/normalize.d.ts +1 -0
- package/dist/src/lib/utils/package-info.d.ts +18 -0
- package/package.json +5 -5
- package/dist/esbuild.cjs.d.ts +0 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ To use the Module Federation plugin with esbuild, add it to your esbuild configu
|
|
|
17
17
|
```js
|
|
18
18
|
const esbuild = require('esbuild');
|
|
19
19
|
const path = require('path');
|
|
20
|
-
const { moduleFederationPlugin } = require('@module-federation/esbuild/
|
|
20
|
+
const { moduleFederationPlugin } = require('@module-federation/esbuild/plugin');
|
|
21
21
|
const federationConfig = require('./federation.config.js');
|
|
22
22
|
|
|
23
23
|
async function buildApp() {
|