Socket
Socket
Sign inDemoInstall

@dumlj/dts-webpack-plugin

Package Overview
Dependencies
356
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dumlj/dts-webpack-plugin

Build dts files with webpack


Version published
Weekly downloads
213
increased by16.39%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

License: MIT  Github Repo  NPM Version  See Docs  codecov 

Dts Webpack Plugin

Build dts files with webpack

BACKGROUND

After Webpack is built, it is no longer the original resource. Therefore, if you want to export .d.ts files, you need to execute tsc to compile the .d.ts file.

FEATURE

  • It can directly output d.ts files.
  • Support alias of tsconfig.json by default.

INSTALL

# use npm
$ npm install --dev @dumlj/dts-webpack-plugin
# use yarn
$ yarn add --dev @dumlj/dts-webpack-plugin
# use pnpm
$ pnpm add @dumlj/dts-webpack-plugin -D

USAGE

import { OneWebpackDTSPlugin } from '@series-one/webpack-dts-plugin'

export default {
  plugins: [
    new OneWebpackDTSPlugin({
      rootDir: path.join(__dirname, './src'),
    }),
  ],
}

LIVE DEMO

After execution, please check the console or ./build directory.

INTERNAL DEPENDENCIES

@dumlj/dts-webpack-plugin
├─┬ @dumlj/seed-webpack-plugin
│ ├─┬─ @dumlj/feature-updater
│ │ ├─── @dumlj/shell-lib
│ │ ├─── @dumlj/util-lib
│ │ └─── @dumlj/mock-libPRIVATE
│ └─── @dumlj/mock-libPRIVATE
└── @dumlj/shell-lib

FAQs

Last updated on 11 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc