unwrap-source-map is a VS Code extension that adds a right-click context menu option to unwrap .map files using a bundled extract-sourcemap.js script.
It’s designed to quickly extract, beautify, and clean source files from JavaScript source maps — all without leaving VS Code.
Features
Right-click → "Unwrap Source Map" directly from the Explorer view.
Automatically backs up the original folder before changes.
Extracts .js, .html, .css, and .json files from the source map.
This extension does not add custom settings yet.
Future settings might include:
Beautifier indent size
File type filtering
Backup folder naming format
Known Issues
Large source maps may take several seconds to unwrap.
Existing files will be overwritten unless you restore from the generated backup.
Does not yet support .map files that are not in loader.js.map format.
Release Notes
0.2.1 (Beta)
Extended component run guard: The Run OBX UI Extended Component option now only appears for base files that support extensibility, preventing accidental runs on non-extensible files.
0.2.0 (Beta)
Custom extension build command: Added ability to run obx ui --mb directly from a context menu on folders.
Dynamic folder targeting: The folder name is now automatically set based on the folder clicked in the context menu.
Last-used directory memory: The extension remembers the last chosen extension home directory for quick reuse.
0.1.1 (Beta)
Added folder-level unmap: You can now right-click on a folder to unmap all its extensions.
Improved text module matching: Updated regexp to handle text!<anymodule> (not just text!obtfpm or css!obtfpm), enabling SMS component unwrapping.
0.1.0 (Beta)
Initial beta release.
Added a context menu action for .map files.
Integrated extract-sourcemap.js within the extension for shared usage.