How to automatically prompt webpack configuration items in vscode?

Webpack has a lot of configuration items, which are easy to forget. It is very useful to be prompted automatically. Just add the following code to the configuration file.

// 下面这行用于 vscode 中智能化自动提示 webpack 配置项
/** @type {import('webpack').Configuration} */

Insert image description here

Guess you like

Origin blog.csdn.net/kaimo313/article/details/134676694