- Another attempt to fix extension packaging.
- Add exclusions.
This commit is contained in:
José Simões 2021-11-30 17:42:21 +00:00
Родитель 603651f856
Коммит 6414c9d24e
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -19,3 +19,7 @@ webpack.config.js
**/.eslintrc.json
**/*.map
**/*.ts
!node_modules/axios
!node_modules/globby
!node_modules/path

Просмотреть файл

@ -22,7 +22,9 @@ const config = {
},
devtool: 'source-map',
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/
axios: "axios",
globby: "globby"
},
resolve: { // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
extensions: ['.ts', '.js']