Closed parithon closed 5 years ago
There appears to be an issue with the source maps that Webpack creates. You set a breakpoint on line 25, but when debugging the breakpoints are in a different location (line 90).
Breakpoint before debug:
Breakpoint during debug:
Because of the issues with the source maps using Webpack during debugging we will only use Webpack when packaging (pre-publishing) the extension prior to publishing to the marketplace. Webpack will clear out the 'out' folder prior to packaging the javascript.
Wow, this is awesome! My only concern is I don't know how to use Webpack but this will finally force me to learn more about it 😄
Instead of including node_modules/ with our extension (upwards of 3300 files) in this PR I use webpack to reduce that to 15 files. Not to mention it reduces our size by an awesome 91%!
Without webpack:![image](https://user-images.githubusercontent.com/8602418/52908264-dda16a00-3226-11e9-853d-ad9cc38ac4de.png)
With webpack:![image](https://user-images.githubusercontent.com/8602418/52908265-e2feb480-3226-11e9-9645-48c6ae2c8f55.png)
Files in VSIX:![image](https://user-images.githubusercontent.com/8602418/52908387-02e3a780-322a-11e9-8683-83d6c61897d4.png)