@bbkkbkk/files-map-webpack-plugin

Webpack entry file mapping.

Usage no npm install needed!

<script type="module">
  import bbkkbkkFilesMapWebpackPlugin from 'https://cdn.skypack.dev/@bbkkbkk/files-map-webpack-plugin';
</script>

README

files-map-webpack-plugin

Generate the mapping of the source entry file, the entry name, and the packaged and compiled file.

How to use

// webpack.config
import FilesMapWebpackPlugin from '@bbkkbkk/files-map-webpack-plugin';

export default {
  plugins: [
    new FilesMapWebpackPlugin()
  ]
};

API

parameter type description
path string The output directory is output to the output folder configured by webpack by default.
name string The name of the output file, the default is filesMap.json.