Thomas Weber
4383747100
Add context for variable color l10n string
2022-05-27 20:34:19 -05:00
Thomas Weber
dcf5c242fb
Insert scaffolding styles at start of <head> instead of end of <head>
...
This lets us remove an !important and makes using custom CSS more
intuitive, see #402
2022-05-27 20:32:23 -05:00
Thomas Weber
0f6cd31b3d
Improve standalone build version text
2022-05-01 14:58:49 -05:00
Thomas Weber
a7811c9539
Implement large assets in node.js module
2021-12-12 11:02:26 -06:00
Thomas Weber
16c1e724fc
Configure webpack externals
2021-12-12 11:02:26 -06:00
Thomas Weber
7389748583
Node.js support prototype
2021-12-12 11:02:15 -06:00
Thomas Weber
15a681f17d
Rename packager webpack entry
2021-12-01 20:01:29 -06:00
Thomas Weber
941278ac33
Add reset buttons to every section
2021-11-25 11:39:02 -06:00
Thomas Weber
9f6ef6d089
Use less obscure values for BUNDLE_ANALYZER env var
2021-10-29 19:05:07 -05:00
Thomas Weber
b65c7e2445
Disable sourcemaps in standalone version
2021-10-22 22:19:48 -05:00
Thomas Weber
fbe1659dff
Slightly clean up webpack config
2021-10-22 22:18:22 -05:00
Thomas Weber
7afff91ea5
Rename TWStandalonePlugin to EagerDynamicImportPlugin
2021-10-21 15:54:12 -05:00
GarboMuffin
d9e8c6d31c
Standalone build support ( #175 )
2021-10-19 19:24:15 -05:00
Thomas Weber
b8c40801a6
Refactor text-encoding webpack alias
...
This fixes build errors when using a locally linked scratch-vm
This should also make it actually work properly
2021-10-02 21:09:21 -05:00
Thomas Weber
81ddac944d
Reduce amount of generated bundles
...
To make fewer requests
2021-09-07 16:24:40 -05:00
GarboMuffin
df9400a697
Separate "p4" from "packager", other refactoring ( #138 )
...
* Separate "p4" and "packager"
* Continue p4, packager, common refactoring
* Plist does not need to be a class
* Document what the `common` folder is for
* Fix typo in "uril-utils"
* Move more p4 JS to the p4 folder
* Move everything from packager/lib to just packager
* Fix imports in tests
2021-08-28 17:11:46 -05:00
Thomas Weber
ce0a47d823
Remove LARGE_ASSET_BASE environment variable
2021-08-13 22:03:49 -05:00
Thomas Weber
90d3a599a1
Gate service worker behind environment variable
2021-08-11 20:06:43 -05:00
Thomas Weber
b207273465
Enable babel on scaffolding
2021-08-08 00:26:10 -05:00
Thomas Weber
e0972243ac
Change dev server port to 8947
...
If you squint really hard, 947 almost looks like PAK
We have a service worker and many other things, so we want to make sure we don't interfere with anything else
2021-08-05 20:03:39 -05:00
GarboMuffin
d37a39be74
Merge branch 'master' into shim-htmlparser
2021-08-01 00:29:10 -05:00
Thomas Weber
c4392b51a1
Shim scratch-parser
2021-08-01 00:25:40 -05:00
Thomas Weber
331d123f55
Shim htmlparser2
2021-08-01 00:05:33 -05:00
Thomas Weber
31d9a98c54
Revert "Dirty hack to ensure only one scratch-render-fonts is bundled"
...
This reverts commit 6917d2ddff .
2021-07-31 13:44:09 -05:00
Thomas Weber
6917d2ddff
Dirty hack to ensure only one scratch-render-fonts is bundled
2021-07-31 01:37:09 -05:00
Thomas Weber
0f6fcc8eb7
Attempt to cache offline
2021-07-19 15:09:55 -05:00
Thomas Weber
b481000dba
Fix example.html and convert it to simple static HTML
...
It really is just a static file, so there's no reason for this to be in webpack
2021-07-10 21:39:34 -05:00
Thomas Weber
6fe5b94ea0
Enable webpack splitting for website
...
This is safe now that we have multiple webpack configs
2021-07-10 21:37:30 -05:00
Thomas Weber
8241ff5f1b
Use filenames with hash in production
2021-07-08 14:22:31 -05:00
Thomas Weber
1b8d5fdd65
Don't generate source maps for scaffolding bundles in production
2021-07-08 11:48:15 -05:00
Thomas Weber
ccd7eec56e
Append build ID to scaffolding JS bundles
2021-07-08 02:05:17 -05:00
Thomas Weber
c211c62ce1
Convert random build ID to string
2021-07-08 01:35:44 -05:00
Thomas Weber
dcda2b4897
Use a less hacky approach to make worker-loader always inline for scaffolding builds
2021-07-07 17:06:52 -05:00
Thomas Weber
c977d73a63
Allow specifying which webpack build to analyze
2021-07-07 16:57:36 -05:00
Thomas Weber
0f80955d7c
Generate scaffolding-min builds without music assets
...
4.8MB -> 2.8MB
2021-07-07 16:38:16 -05:00
Thomas Weber
0fb2608d76
Use multiple webpack configurations
2021-07-07 16:26:12 -05:00
Thomas Weber
f182cc1309
Fix gamepad addon images
2021-07-07 16:11:44 -05:00
Thomas Weber
bdb279638e
Use file-loader to load default icon
2021-07-06 18:19:00 -05:00
Thomas Weber
a8b74e2c9b
Add privacy-respecting analytics
...
optout by DNT or installing an adblocker
2021-06-24 14:09:27 -05:00
Thomas Weber
b885bd2311
Fix SCAFFOLDING_BUILD_ID
2021-06-24 14:09:25 -05:00
Thomas Weber
27ef3d6905
Use indexed DB to cache large files longer and more reliably
2021-06-24 14:09:25 -05:00
Thomas Weber
fd6daad062
Configurable LARGE_ASSET_BASE
2021-06-24 14:09:04 -05:00
Thomas Weber
cc4e57541d
Start working on NW.js support
2021-06-24 14:09:03 -05:00
Thomas Weber
4248d30460
Disable webpack dev server auto reloads for now
...
Breaks packaged projects
2021-06-24 14:08:56 -05:00
Thomas Weber
a44f23d094
Update webpack dev server config
2021-06-24 14:08:56 -05:00
Thomas Weber
ef1d2e1fa0
Tell webpack to listen on 0.0.0.0
2021-06-24 14:08:55 -05:00
Thomas Weber
8af6ce1fb7
Don't add all chunks to example
2021-06-24 14:08:53 -05:00
Thomas Weber
768b95bef7
Move example.html
2021-06-24 14:08:52 -05:00
Thomas Weber
602c7593e9
Set process.env.NODE_ENV
2021-06-24 14:08:52 -05:00
Thomas Weber
d13f4abc57
Force worker-loader to always use inline: true, fallback: false
2021-06-24 14:08:51 -05:00