Skip to content

Unpack the sourcemaps generated by Webpack to a project folder

Notifications You must be signed in to change notification settings

mutoo/webpack-sourcemap-unpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Sourcemap Unpacker

This is a very handy script to unpack the sourcemap generated by the webpack into a project structured folder.

Install

I am not going to pubilsh this tools via npm. You could just clone this repo and run yarn install to load the dependencies:

$ yarn install

And link it to your yarn bin folder, this will make it avaiable as a global command:

$ yarn link

Usage

$ WebpackSourcemapUnpacker -h
Usage: webpack-sourcemap-unpacker [options]

Unpack the sourcemaps generated by Webpack to a project

Options:
  -v, --version               output the version number
  -p, --prefix [webpack:///]  filter the path with certain prefix
  -i, --input [glob-pattern]  a glob patterns to describe sourcemap files to be unpacked, default to *.map
  -o, --output [folder]       set the output folder, default to current folder
  -h, --help                  output usage information

Scripts

Here is a handy gist for clawing all source map link from a page: https://gist.github.com/mutoo/0acc57192ff4de710f55043581da99b1

License

MIT

About

Unpack the sourcemaps generated by Webpack to a project folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published