A simple Node.js script to extract original source files from a .map file generated by Webpack or other bundlers.
- Extracts all embedded sources from a given
.mapfile - Reconstructs original file structure
- Saves results inside an
extracted_sources/directory
- Clone or download this repository.
- Make sure you have Node.js installed.
- Run the script with your source map file:
node extract.js <your-source-map-file.js.map>