I have a simple webpack config .
const path = require('path');
module.exports = {
devtool: 'source-map',
entry: './src/index.js',
output: {
libraryTarget: 'commonjs',
filename: 'index.js',
path: path.resolve(__dirname, 'dist'),
},
};
After I build and upload my modules to npm and use them on other projects the vs code IntelliSense is not working for these modules. The module functions are documented with jsdoc.
import { myFunc } from 'myModule';
Or
const myModule = require('myModule');
Myfunc and myModule have no IntelliSense auto complate support or any other.
How can I keep the jsdoc working after webpack build?