To get suggestion in configuration files (like webpack, vite) use JSDoc @type
, like:
/** @type {import('webpack').Configuration} */
module.exports = { ... }
or
/** @type {import('vite').UserConfig} */
export default { ... }
To get suggestion in configuration files (like webpack, vite) use JSDoc @type
, like:
/** @type {import('webpack').Configuration} */
module.exports = { ... }
or
/** @type {import('vite').UserConfig} */
export default { ... }