-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
Hi, while this "Works" right now, its not well documented; and a lot is subject to change. | ||
|
||
## Installing | ||
The runtime with an example config for twitter can be installed from https://adryd325.github.io/webpackTools/webpackTools.user.js | ||
|
||
## Updating | ||
To update to the latest webpackTools runtime while maintaining your existing config, edit your userscript and replace the string after `const runtime = ` with https://adryd325.github.io/webpackTools/webpackTools.runtime.json. | ||
|
||
## How to determine if something is Webpack 4 or Webpack 5 | ||
TODO: actually explain this | ||
|
||
Webpack 5 typically names its jsonp array webpackChunk\<projectName\> | ||
Webpack 4 typically names its jsonp array webpackJsonp | ||
|
||
to double check you can find the first array with 3 entries | ||
if the 3rd entry is an array with strings, its webpack 4 | ||
if the 3rd entry is a function it's webpack 5 | ||
|
||
rspack seems to compile to webpack 5 runtime | ||
|
||
## Credits | ||
A lot of this is based on research by [Mary](https://github.com/mstrodl) and [Cynthia](https://github.com/cynosphere) (HH3), and [Twilight Sparkle](https://github.com/twilight-sparkle-irl/) (webcrack, crispr) |