0.0.1-alpha.5 • Published 3 years ago
code-postions-webpack-plugin v0.0.1-alpha.5
code-postions-webpack-plugin
在页面上点击元素,跳转到在代码中对应的位置
按住 shift 键后点击页面上的元素跳转到对应的代码位置
Usage
| options | desc | default | |
|---|---|---|---|
| port | 启动服务的端口号 | 8999 |
Install
npm i code-postions-webpack-plugin -D// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('code-postions-webpack-plugin')({
/* options */
}),
],
};