vscode:"commonjs vscode",// the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
"vscode-nls":"commonjs vscode-nls"
},
resolve:{// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
extensions:['.ts','.js'],
alias:{
"@cmt":path.resolve(__dirname,'src')
}
},
module:{
rules:[{
test:/\.ts$/,
exclude:/node_modules/,
use:[{
// configure TypeScript loader:
// * enable sources maps for end-to-end source maps