2.5.26 • Published 21 days ago
@dumlj/pretty-assets-tree-webpack-plugin v2.5.26
Pretty Assets Tree Webpack Plugin
Pretty print assets tree.
BACKGROUND
When writing DEMO, it need to print files from webpack build in the form of a tree, but Webpack only provides file arrays and cannot output well.
INSTALL
# use npm
$ npm install --dev @dumlj/pretty-assets-tree-webpack-plugin
# use yarn
$ yarn add --dev @dumlj/pretty-assets-tree-webpack-plugin
# use pnpm
$ pnpm add @dumlj/pretty-assets-tree-webpack-plugin -D
USAGE
import { PrettyAssetsTreeWebpackPlugin } from '@dumlj/pretty-assets-tree-webpack-plugin'
export default {
mode: 'production',
plugins: [
new PrettyAssetsTreeWebpackPlugin({
banner: chalk.whiteBright.bold('The following files are artifacts.'),
include: ['**/*.d.ts'],
}),
],
}
LIVE DEMO
In the demo, the files is output to the memory, please check the console
.
Or remove the comment writeToDisk: true
from the MemfsWebpackPlugin
in webpack.config.ts
and run yarn build
.
INTERNAL DEPENDENCIES
2.5.27-alpha.1713365667.0
21 days ago
2.5.26-alpha.1710126501.0
2 months ago
2.5.26
2 months ago
2.5.26-alpha.1709143224.0
2 months ago
2.5.26-alpha.1709136968.0
2 months ago
2.5.25-alpha.1709135426.0
2 months ago
2.5.25
3 months ago
2.5.23
3 months ago
2.5.24
3 months ago
2.5.23-alpha.1707383866.0
3 months ago
2.5.23-alpha.1707390213.0
3 months ago
2.5.23-alpha.1707401616.0
3 months ago
2.5.23-alpha.1707244387.0
3 months ago
2.5.23-alpha.1707282212.0
3 months ago
2.5.23-alpha.1707248747.0
3 months ago
2.5.23-alpha.1707245597.0
3 months ago
2.5.23-alpha.1707287569.0
3 months ago
2.5.23-alpha.1707212485.0
3 months ago
2.5.22
4 months ago
2.5.21
4 months ago
2.5.20
5 months ago
2.5.19
5 months ago
2.5.18
5 months ago