webpack-module-federation-types-advanced-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

Webpack-Module-Federation-Types-Advanced-Plugin

Webpack Plugin that works in conjunction with the ModuleFederationPlugin to generate and share declare files for TypeScript.

This plugin uses the Webpack 5 asset module to share declare files.

Installation

npm i webpack-module-federation-types-advanced-plugin

Usage

  new ModuleFederationTypesAdvancedPlugin(configuration?: Configuration),

Configuration

Setting Value Default
remoteUrls object {}
rootDir string /
emitedFileDir string @ts
globalTypesDir string src/@ts/
loadTypesDir string src/@ts/remotes/
downloadTimeout number 120000
isTypeGenDisabled boolean false
isDownloadDisabled boolean false
isOnceDownload boolean false
tsConfigPath string tsconfig.json
continuouslySync string options.mode === 'development'
sslVerify boolean false

Package Sidebar

Install

npm i webpack-module-federation-types-advanced-plugin

Weekly Downloads

1

Version

1.1.4

License

ISC

Unpacked Size

29.8 kB

Total Files

17

Last publish

Collaborators

  • r.p.akhmetov