Nutmeg Plundering Muse

    webpack-typescript-config-dump-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.1 • Public • Published

    [Webpack plugin] Dump Typescript Config into file system

    A webpack plugin to dump compiled typescript config into file system. Is useful in case you have resolve aliases formed dynamically and want your IDE to be able to handle them.

    For webpack config file you can use webpack-config-dump-plugin

    MIT License npm version

    Installation

    npm i webpack-typescript-config-dump-plugin --save-dev
    

    Usage

    Javascript module

    const {
      TypescriptConfigDumpPlugin,
    } = require("webpack-typescript-config-dump-plugin");
    
    // webpack config
    {
      plugins: [new TypescriptConfigDumpPlugin(options)];
    }

    Typescript module

    import { TypescriptConfigDumpPlugin } from "webpack-typescript-config-dump-plugin";
    
    // webpack config
    {
      plugins: [new TypescriptConfigDumpPlugin(options)];
    }

    Options and defaults

    Option Type Required Default Description
    outputPath string no ./ Path to store config dump
    name string no webpack.config.dump Dump filename

    Changes

    • Version 2 In version 2 the plugin has been rewritten using Typescript.
      BREAKING: Now it needs to be imported as ES module. Check the information above for details.

    Install

    npm i webpack-typescript-config-dump-plugin

    DownloadsWeekly Downloads

    1

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    7.71 kB

    Total Files

    5

    Last publish

    Collaborators

    • n0th1ng_else