add libs folder to the webpack
This commit is contained in:
Родитель
f659bc898a
Коммит
fef77eed56
|
@ -17,7 +17,8 @@ const extensionConfig = {
|
|||
// the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'extension.js',
|
||||
libraryTarget: 'commonjs2'
|
||||
libraryTarget: 'commonjs2',
|
||||
publicPath: "/libs/"
|
||||
},
|
||||
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/
|
||||
|
|
Загрузка…
Ссылка в новой задаче