Visual Studio默认使用快捷键Ctrl + l(剪切线).它将光标所在的行复制到剪贴板并删除它.
我在Visual Studio Code中找不到它.有没有办法将其添加为最终用户?
(我知道删除行有Ctrl + Shift + K,这是不一样的)
我有以下内容vue.config.js:
module.exports = {
filenameHashing: false,
productionSourceMap: false,
outputDir: '../vuejs/',
configureWebpack: {
devtool: 'source-map',
output: {
filename: '[name].js'
}
},
pages: {
feature1: {
entry: 'src/f1.js',
template: 'public/feature.html',
filename: 'index1.html',
title: 'Feature 1',
chunks: ['chunk-vendors', 'chunk-common', 'feature1']
},
feature2: {
entry: 'src/f2.js',
template: 'public/feature.html',
filename: 'index2.html',
title: 'Feature 2',
chunks: ['chunk-vendors', 'chunk-common', 'feature2']
}
}
}
Run Code Online (Sandbox Code Playgroud)
其上npm run build生成:
index1.html
index2.html
feature1.js
feature2.js
js/chunk-vendors.js
Run Code Online (Sandbox Code Playgroud)
在 dist 文件夹中 ( ../vuejs/)
我如何更改配置,以便chunk-vendors.js将文件放置在根文件夹中(其中feature1.js和feature2.js …