Skip to content

Commit

Permalink
Remove vue dependencies (#156)
Browse files Browse the repository at this point in the history
Removes vue dependencies, as well as the following changes.
These changes were made to make file stream writing to work properly without importing vue:

- Use local `mitm.html` for `streamsaver`
- Replace `web-streams-polyfill` with `ponyfill`
- Upgrade streamsaver and web-streams-polyfill
- Handle cancellation when user cancels through browser
  • Loading branch information
JustusFT authored Apr 17, 2023
1 parent 0a5d749 commit 3cc580e
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 497 deletions.
4 changes: 2 additions & 2 deletions client/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const javascript = () =>
.pipe(
webpackStream({
...webpackConfig,
entry: ["web-streams-polyfill", `./src/app/index.tsx`],
entry: ["web-streams-polyfill/ponyfill", `./src/app/index.tsx`],
})
)
.pipe(gulp.dest("dist/app"));
Expand All @@ -73,7 +73,7 @@ const javascriptWatch = () =>
webpackStream({
...webpackConfig,
watch: true,
entry: ["web-streams-polyfill", `./src/app/index.tsx`],
entry: ["web-streams-polyfill/ponyfill", `./src/app/index.tsx`],
})
)
.pipe(gulp.dest("dist/app"))
Expand Down
Loading

0 comments on commit 3cc580e

Please sign in to comment.