chore: исключить handlebars из webpack сборки и добавить скрипт package-vsce

This commit is contained in:
2025-10-25 17:19:30 +03:00
parent 853b0f9a0b
commit 3da37cd591
3 changed files with 3286 additions and 18 deletions

View File

@@ -20,7 +20,8 @@ const extensionConfig = {
libraryTarget: 'commonjs2'
},
externals: {
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: '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/
handlebars: 'commonjs handlebars' // исключаем handlebars для избежания предупреждений о require.extensions
// modules added here also need to be added in the .vscodeignore file
},
resolve: {