Commit Graph
45 Commits
Author SHA1 Message Date
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
Thomas Weber ad6eddb1a3 Shim scratch-translate-extension-languages 2021-06-24 14:08:50 -05:00
Thomas Weber e71fe18638 Bundle analyzer mode 2021-06-24 14:08:50 -05:00
Thomas Weber 112a5f1276 Alias text-encoding to fastestsmallesttextencoderdecoder 2021-06-24 14:08:50 -05:00
Thomas Weber 6d611f7f5b Reorganize 2021-06-24 14:08:49 -05:00
Thomas Weber 2a9675fc55 You can now get something to get spit out 2021-06-24 14:08:48 -05:00
Thomas Weber d4b74fae4d Add Svelte 2021-06-24 14:08:48 -05:00
Thomas Weber f719e901f3 Fix music blocks 2021-06-24 14:08:48 -05:00
Thomas Weber d2fd86ce58 You know what? Let's add addons 2021-06-24 14:08:48 -05:00
Thomas Weber a8f4506c15 Simple ask implementation 2021-06-24 14:08:45 -05:00
Thomas Weber 5e8f6f7a9b Initial commit 2021-06-24 14:08:45 -05:00