webpack-vue-plugin-inspector

2.0.0-beta.1 • Public • Published

webpack-vue-plugin-inspector

Help you quickly locate code in IDE

Install

# yarn
yarn add webpack-vue-plugin-inspector -D

# npm
npm install webpack-vue-plugin-inspector -D

Usage

only support webpack as so far

  • win(default): control(left) + click
  • mac(default): command(left) + click
const { webpackPlugin, pluginServerV4, pluginServerV5} = require('webpack-vue-plugin-inspector/webpack')

module.exports = defineConfig({
  ...
  devServer: {
    ...domToCodeDevServerV5
  },
  configureWebpack: {
    plugins: [
      webpackPlugin({})
    ]
  }
  // use custom key as shortcuts
  configureWebpack: {
    plugins: [
      webpackPlugin({
        key: 'your key shortcuts'
      })
    ]
  }
})

Attention

You need to add environment variables in vscode

Package Sidebar

Install

npm i webpack-vue-plugin-inspector

Weekly Downloads

0

Version

2.0.0-beta.1

License

MIT

Unpacked Size

15.1 kB

Total Files

18

Last publish

Collaborators

  • lyxjay