launch-ide-loader
v1.0.3
Published
### Installation
Downloads
6
Maintainers
Readme
launch-ide-loader
Installation
npm i launch-ide-loader -D
Usage
在 webpack 编译阶段 通过自定义 loader 唤起 IDE(vscode,webstorm ....)
参考文章 https://juejin.cn/post/7382891974942244890
options.filename: 监控的文件,此文件维护 唤起的 ide 名字
module.exports = {
....
module: {
rules: [
{
test: require.resolve("../xxx.js"),
use: [
{
loader: "launch-ide-loader",
options: {
filename: path.resolve(__dirname, "./launchIde.js"),
},
}
],
},
]
}
...
}