Commit Graph

18 Commits

Author SHA1 Message Date
Jason Fields
ad28f234ff Delete remaining source map stuff 2023-03-01 18:18:17 -05:00
Jason Fields
f02ed71ed8 Remove "Report bug" popup in favor of simply logging an error message
This has helped resolve a few bugs, but has also generated more spam issues than I can keep up with. To be really useful it needs source maps, which are quite bulky.
If we want to revive something like this, we should use VS Code's relatively new telemetry API.
2023-03-01 17:35:20 -05:00
Evgeny Gryaznov
c3dd400854
Fix the remaining dependency cycles. (#7483)
Fixes #6177
2022-12-05 22:08:15 -05:00
Jean Pierre
3d37bb4898
Load process polyfill automatically, required by util (#7156)
Fixes #7150
2021-10-15 11:01:11 -04:00
Renovate Bot
fecb75af21 Update dependency webpack-stream to v7 2021-09-04 17:29:36 -04:00
Jason Fields
666ea2fa34 Use source maps to get readable stack traces in production
Using the 'source-map' option does blow up the package size quite a bit, but I couldn't find another option that was doing the trick.
Fixes #5887
2021-03-18 19:02:48 -04:00
Jason Fields
9e8e012ecb Faster builds: use ForkTsCheckerWebpackPlugin to type check in separate process 2021-03-06 15:37:09 -05:00
Jason Fields
c9ba2caf85 Enable optimization.minimize in webpack config 2021-02-08 16:24:43 -05:00
rebornix
3d0e91e2da Polyfill OS/Process/setImmediate 2021-02-01 16:19:31 -08:00
rebornix
b5d17c6a59 off load vimrc module in web. 2021-01-29 14:23:12 -08:00
Jason Fields
5861a4f072 Fix build: use explicit polyfill for path
This was done automatically by webpack 4 but not webpack 5.
2020-12-14 15:10:10 -05:00
Peng Lyu
c900a7eaa8
Nodeless entry for Vim extension (#5130)
Add a new entry for running Vim in nodeless environment and load platform-specific modules based on the target.

This PR includes changes to:
- fs. In node, it's node's native fs; in nodeless, it uses vscode.workspace.fs.
- historyFile. In node, it stores the history in file system; in nodeless, it stores in memory.
- logger. In node, it uses winson; in nodeless, it uses browser console.
- lastly, it relies on Webpack to tree shake unwanted code paths (for example, remove nvim related code paths from the bundle in nodeless environment).
2020-09-20 13:57:38 -04:00
Jason Fields
7d2d69d83b Use clean-webpack-plugin to delete contents of out directory before each build
Fixes #4999
2020-07-08 23:44:28 -04:00
Jason Fields
4dbdc78bf8
Another crack at bundling the extension with webpack (#4690)
This broke the extension last time we tried 🙂
The main benefit is shipping a smaller bundle, which leads to slightly faster startup times.
Fixes #3127
2020-05-02 16:44:08 -04:00
Ricardo Piro-Rael
e7f1cd7f42 Revert "WebPack builds for improved loading times (#3889)" (#4217)
This reverts commit 1f80b2d4cc.
2019-10-25 21:15:15 -07:00
Jason Poon
9618c300fd
v1.11.2 (#4172)
* Revert "fix: exclude neovim from webpack module. #4126 (#4169)"

This reverts commit 200c17f3df.

* bump version
2019-10-14 01:11:11 -07:00
Jason Poon
200c17f3df
fix: exclude neovim from webpack module. #4126 (#4169) 2019-10-14 00:19:51 -07:00
Ian Frosst
1f80b2d4cc WebPack builds for improved loading times (#3889)
Fixes #3127
2019-09-06 22:07:05 -04:00