Thomas Weber
25bc502f0c
Fix build as library
2022-05-21 16:54:03 -05:00
Thomas Weber
1b18d9227d
Don't try to copy extension worker
...
The Worker-based extension sandbox is no longer used
2022-03-31 14:53:38 -05:00
Thomas Weber
1aa3a862b0
Merge branch 'develop' of https://github.com/llk/scratch-gui into develop
2022-03-31 14:46:55 -05:00
BryceLTaylor
5fa1b9cc7c
update copy-webpack-plugin to 6.4.1
...
This is as far as you can go before updating to webpack 5
Requires a change to how the plugin is called.
2022-03-02 13:45:52 -05:00
Thomas Weber
703991f326
Enable compression in webpack dev server
2021-08-15 13:42:58 -05:00
Thomas Weber
608dc1e6ac
Remove editoronly
...
It was an experiment that did not go anywhere
2021-07-08 01:51:40 -05:00
Thomas Weber
7a8a5da4b6
Add editoronly mode
2021-07-01 14:14:46 -05:00
Thomas Weber
ee8361bf50
Gate service worker behind environment variable
2021-06-03 14:57:26 -05:00
Thomas Weber
b9001df023
Offline support
2021-06-02 20:17:21 -05:00
Thomas Weber
b0e2c09d63
Don't explicitly list babel plugins
...
Let preset-env figure it out. We shouldn't be wasting time downleveling syntax for browsers we don't support.
2021-03-28 12:00:57 -05:00
Thomas Weber
bcefc91a65
Remove embedgpl
2021-03-25 15:06:28 -05:00
Thomas Weber
c141c20573
Addons should use simple template
2021-03-07 20:47:01 -06:00
Thomas Weber
ad2982ea2f
Improve the credits page
2021-03-07 20:42:22 -06:00
Thomas Weber
9cc871262d
Create a credits page
2021-03-07 20:01:53 -06:00
Thomas Weber
6c5cb59c5a
Add embedgpl, it's like embed but it loads GPL code (addons)
2021-03-05 13:05:47 -06:00
Thomas Weber
a9405f0961
Fix ANNOUNCEMENT escaping
2021-03-01 17:07:07 -06:00
Thomas Weber
1c0a8da376
Update webpack config
2021-02-27 20:39:19 -06:00
Thomas Weber
41164d4dc9
Replace scratch-render-fonts with something that loads fonts from files
2021-02-27 20:39:12 -06:00
Thomas Weber
1d2296eb81
Use our TextEncoder shim universally
2021-02-27 20:01:22 -06:00
Thomas Weber
be38b8edf1
Update webpack config
2021-02-27 17:50:38 -06:00
Thomas Weber
80c8deff13
Update webpack config
2021-02-27 17:07:26 -06:00
Thomas Weber
fd46b8085f
Add SOURCEMAP environment variable
2021-02-20 11:08:29 -06:00
Thomas Weber
aa3da817dd
Disable dark splash in embed
2021-02-20 10:21:41 -06:00
Thomas Weber
af8f54727b
Merge branch 'develop' of https://github.com/llk/scratch-gui into develop
2021-02-19 22:55:48 -06:00
Thomas Weber
a637624e48
Copy static directly into the output root
...
Changes static/favicon.ico to just favicon.ico. The job of finding the favicon is now left to the browser.
This is important if we want to give experiments its own favicon w/o modifying 40 branches
2021-02-16 13:31:53 -06:00
Paul Kaplan
506d82ffe5
Correctly specify react and react-dom as externals
...
Previously, the syntax was incorrect and was not doing anything.
Additionally, it was attempting to set them as externals in the playground
builds, which is incorrect, they need to be included in the playground build.
2021-02-16 11:37:24 -05:00
Thomas Weber
9981995f3e
New approach to handling addon libraries-raw and assets
...
They are now handled with `import` just like everything else in Scratch.
Benefits of this:
- Addon assets can be cached immutably now
- No special webpack configuration needed anymore
2021-01-25 20:02:24 -06:00
Thomas Weber
fe8bf1e674
Update addon settings page title
2021-01-23 16:31:44 -06:00
Thomas Weber
a5e92a1083
addons.html wildcard routing
2021-01-23 01:00:15 -06:00
Thomas Weber
60396e572a
Addons.
...
Imported from TurboWarp/desktop
2021-01-18 19:49:51 -06:00
Thomas Weber
657967e61b
Make titles consistent
2020-11-20 17:05:50 -06:00
Thomas Weber
875de0caea
Allow embed to use wildcard-like routing
...
So that links can look like this:
https://turbowarp.org/1/embed
Instead of this:
https://turbowarp.org/embed.html#1
2020-11-14 17:57:19 -06:00
Thomas Weber
9bebcb0007
More updates to analytics
...
More strict protocol check
Make sure that origin somewhat matches
2020-10-31 19:44:20 -05:00
Thomas Weber
f837cb873a
Allow wildcard routing to work with webpack's dev server
2020-10-31 14:25:09 -05:00
Thomas Weber
856e03e4c6
Remove now-unused plausible options from html webpack plugin
2020-10-31 14:24:53 -05:00
Thomas Weber
0bcc20ac46
Remove sentry
2020-10-27 21:22:03 -05:00
Thomas Weber
c141806278
Fix favicon.ico root
...
not that we actually have a favicon or anything
2020-10-27 21:21:29 -05:00
Thomas Weber
9a2f27c847
ROOT should have a trailing slash if it is defined
2020-10-27 21:14:26 -05:00
Thomas Weber
bc37ec400c
Make analytics part of the bundle
...
Instead of loading an external script, put the logic in the bundle itself
This gives us more control over it, so now we:
- do not include project IDs
- delay events until idle
2020-10-27 20:48:42 -05:00
Thomas Weber
6bdfd53dba
Fix routing bugs
...
Make ROUTING_STYLE actually work
Fix editor in wildcard
Fix embed
2020-10-27 18:08:54 -05:00
Thomas Weber
fc416bf038
Implement wildcard routing
2020-10-27 17:52:15 -05:00
Thomas Weber
e7099c93ea
Allow using absolute URLs for assets
...
Use the ROOT environment variable:
When ROOT=/interpolated-60/,
JS is loaded from /interpolated-60/js/
and assets are from /interpolated-60/static
note: you manually have to move files to interpolated-60, this does not happen automatically
2020-10-26 20:08:48 -05:00
Thomas Weber
440be3d51a
Address some eslint issues, remove some old code
2020-10-26 17:51:59 -05:00
Thomas Weber
d07eccc2ab
Going to be trying out plausible analytics
2020-10-11 19:05:45 -05:00
Thomas Weber
1535497a6f
Fix empty ANNOUNCEMENT showing undefined
2020-09-25 20:20:52 -05:00
Thomas Weber
a57f21efbb
Support ANNOUNCEMENT env var for announcements
2020-09-25 20:09:21 -05:00
Thomas Weber
b41a6371e2
don't set NODE_ENV to production for every build
2020-09-17 20:47:48 -05:00
Thomas Weber
637ae6eb92
Simplify splitChunks config
2020-09-17 20:24:43 -05:00
Thomas Weber
824cbe5950
Use simpler file names in development
2020-09-17 20:20:48 -05:00
Thomas Weber
3a816e2b21
Add page for fullscreen
2020-09-01 19:31:39 -05:00