Skip to content

akhroman/webpack-module-federation-types-advanced-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published