Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@dumlj/dts-webpack-plugin
Advanced tools
Readme
Build dts files with webpack
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.
d.ts
files.tsconfig.json
by default.
# 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
import { OneWebpackDTSPlugin } from '@series-one/webpack-dts-plugin'
export default {
plugins: [
new OneWebpackDTSPlugin({
rootDir: path.join(__dirname, './src'),
}),
],
}
After execution, please check the console
or ./build
directory.
@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
Build dts files with webpack
The npm package @dumlj/dts-webpack-plugin receives a total of 207 weekly downloads. As such, @dumlj/dts-webpack-plugin popularity was classified as not popular.
We found that @dumlj/dts-webpack-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
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.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.