Commit graph

35 commits

Author SHA1 Message Date
Matt Bierner e262c88fb1
Fix process.platform for picomatch (#150430)
The `picomatch` library currently checks `process.platform`. This check fails on web, which causes the markdown extension to not load

To fix this, I'm replacing `process.platform` with the string`'web'`
2022-05-26 01:28:46 +00:00
Logan Ramos c8e6d08e3a
Update to the latest extension module 2021-07-26 13:44:43 -04:00
Matt Bierner 04485223eb
Fix undefined not allowed for configFile in ts-load
Seems like the presense of  `configFile` causes problems if it is not a string
2021-07-23 12:06:39 -07:00
Matt Bierner 134c345351
Try adding browser specific tsconfig
Trying to add this to catch dependencies we take on node types
2021-07-22 17:00:17 -07:00
Martin Aeschlimann cde5781978
polish webpack configs 2021-07-09 11:55:21 +02:00
Martin Aeschlimann 7ebe6a6054
adopt web extensions to webpack 5 2021-07-08 21:41:03 +02:00
SteVen Batten 9fa49ba941 ignore optional dependencies when webpacking 2021-03-22 18:31:21 -07:00
Martin Aeschlimann 60bc00ff63 webpack config typing fix 2021-01-11 09:57:11 +01:00
Martin Aeschlimann cfc8c5d3d7 extension webpack: do not copy .ts files as resources 2021-01-05 22:37:28 +01:00
Martin Aeschlimann 485c5fc009 Revert "extension webpack: do not copy .ts files as resources"
This reverts commit ab1aeb6b73.
2021-01-05 21:10:37 +01:00
Martin Aeschlimann ab1aeb6b73 extension webpack: do not copy .ts files as resources 2021-01-05 17:24:22 +01:00
Alexandru Dima 804c90cc49
Adopt more breaking changes from copy-webpack-plugin 2020-12-17 13:05:14 +01:00
Alexandru Dima 2aa92c6e83
Adopt copy-webpack-plugin breaking change 2020-12-17 12:01:07 +01:00
Benjamin Pasero dc333833e9 eslint - fix linting issues 2020-07-21 07:46:15 +02:00
Martin Aeschlimann 94081f67b6 shared webpack browser config: add WEBWORKER definition 2020-06-26 10:13:08 +02:00
Martin Aeschlimann 16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Matt Bierner 273a4a389d
Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Johannes Rieken f01f7ebe93 fix some (future) linting issues 2019-12-31 09:54:04 +01:00
João Moreno f9e6cc95e2
Update extensions/shared.webpack.config.js 2019-07-10 11:12:30 +02:00
Joao Moreno cf64ef0884 remove legacy extensions compilation
- update vscode-nls-dev
- fix CopyWebpackPlugin usage
- fix extra data in html extension
- add webpack to python
2019-07-10 09:38:05 +02:00
Johannes Rieken 9638b09920 💄 2019-03-04 15:06:29 +01:00
Johannes Rieken 6999ddbab7 update vscode-extension-telemetry 2018-09-20 12:06:55 +02:00
Johannes Rieken f1962fe5ad webpack - use mainFields: ['module', 'main'] for everyone 2018-09-13 11:48:06 +02:00
Johannes Rieken 3830d7b238 webpack - inline vscode-nls for our extensions 2018-09-06 15:12:28 +02:00
Johannes Rieken f82bcb20ed webpack - move __dirname-config up into shared config 2018-09-03 12:38:46 +02:00
Joao Moreno 3f8088b5c5 remove transpileOnly flag from webpack 2018-08-27 09:14:48 +02:00
Johannes Rieken cdb9c0a8f4 update vscode-nls-dev to fixed version, share more config between extensions 2018-08-24 16:37:10 +02:00
Johannes Rieken ffe5da332d bundle node_modules and (shallow) exclude them from the extension #56081 2018-08-22 11:35:41 +02:00
Johannes Rieken a9e3a3d69e webpack - check js files, declare params, #56081 2018-08-21 16:40:02 +02:00
Johannes Rieken 07796186d3 fix #56877 2018-08-21 10:27:11 +02:00
Johannes Rieken 4bf5813f79 💄 2018-08-20 15:29:54 +02:00
Johannes Rieken 01365dbe26 webpack - more defaults for extensions 2018-08-20 15:23:56 +02:00
Johannes Rieken 669f2c8627 use vscode-nls-dev-loader 2018-08-20 12:46:47 +02:00
Johannes Rieken c98ed76158 add a way to opt out of ts-loader so that vscode-nls-tricks survive 2018-08-17 17:58:57 +02:00
Johannes Rieken 1115196349 add a shared webpack conifg 2018-08-17 15:56:57 +02:00