stash-mapfile
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Stash map files

stash source-map files,and restore them when you need.

principle-of-realization

NOTE!: This is to solve the inaccurate positioning of the source code of the miniprogram devtools breakpoint debugging .

Install

# npm
npm install -g stash-mapfile
# yarn
yarn global add stash-mapfile
# pnpm
pnpm add -g stash-mapfile

Usage

Clean

Remove all mapfiles, can`t be restore

stash-mapfile
# or
stash-mapfile clean

Stash

Stash all mapfiles, can be restore

stash-mapfile stash

Restore

Restore all mapfiles

stash-mapfile restore

Node Api

import {
  stashMapFiles,
  removeMapFiles,
  restoreMapFiles
} from "stash-mapfile";

Development

Local

pnpm start

Link

1. pnpm dev

2. npm link # yalc publish

License

MIT License Copyright 2022 zhixiaoqiang

Readme

Keywords

none

Package Sidebar

Install

npm i stash-mapfile

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

9.01 kB

Total Files

14

Last publish

Collaborators

  • zhixiaoqiang