Thomas Weber
629d832304
Fix package and webpack config
2021-01-04 18:37:18 -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
Thomas Weber
35b3312c31
Preliminary embedding support ( #5 )
2020-09-01 17:24:48 -05:00
Thomas Weber
5b5b25e2cb
Guess we're not going to do sourcemaps in production
...
Apparently my garbage vps has too little memory to generate a few megabytes of sourcemap.
2020-08-16 00:54:22 -05:00
Thomas Weber
239f6d68cc
Enable source maps in production
...
Sure, it might be a bit weird.
But since TurboWarp is open source anyways, this is just to have a more useful debugging experience in production.
No source code is being leaked or anything like that. It's already on github
2020-08-16 00:47:10 -05:00
Thomas Weber
1ba9012458
Sentry error monitoring
2020-08-15 22:53:33 -05:00
Thomas Weber
1af1c44627
Be less clever with cache groups
2020-08-15 01:05:46 -05:00
Thomas Weber
2893dfca76
More bundle optimizations
2020-08-15 00:38:18 -05:00
Thomas Weber
701b46a1ca
Use hash in filenames
2020-08-14 23:25:01 -05:00
Thomas Weber
4e028555d3
Merge branch 'develop' into optimize-chunks
2020-08-14 23:03:44 -05:00
Thomas Weber
ea90b24a20
Remove playeronly
2020-08-11 19:08:51 -05:00
Thomas Weber
12a704e26d
Webpack config update
...
Forgot to include these earlier
2020-07-31 17:26:49 -05:00
Thomas Weber
551e9d4e5a
Choose username automatically and remember it
2020-07-31 15:45:04 -05:00
Thomas Weber
0da7146c82
Make the player the default page
2020-07-31 15:35:05 -05:00
Thomas Weber
08f51d87e3
Optimize chunks
2020-07-30 16:30:21 -05:00
Thomas Weber
2514093336
index -> editor
2020-07-30 00:16:59 -05:00
Thomas Weber
6a8df154f0
Write a pretty short privacy policy
...
because of the cloud variable server, some data is logged. So we should mention that somewhere
2020-07-28 01:43:30 -05:00
Thomas Weber
c879bc64af
Display something other than a white page while loading
2020-07-28 00:48:25 -05:00
Thomas Weber
48e8f90c61
Update title of the index
2020-07-26 18:03:45 -05:00
Thomas Weber
829b3cfa76
Address some eslint issues
2020-07-25 23:22:03 -05:00
Thomas Weber
70ec656558
Remove compatibility testing
2020-07-25 22:45:22 -05:00
Thomas Weber
43f14f9293
Add mp3 to file-loader
2020-07-25 14:11:13 -05:00
Thomas Weber
7c4a84c15d
Terser is already the default minimizer
2020-07-25 13:36:12 -05:00
Thomas Weber
16ff1fef40
Fix terser
2020-07-24 01:57:56 -05:00
Thomas Weber
588d424a54
Update page titles
2020-07-23 20:56:18 -05:00
Thomas Weber
f60fff97fe
Use Terser instead of uglify
2020-07-23 20:56:05 -05:00
Christopher Willis-Ford
0647270674
disable webpack progress plugin on CI
2020-07-02 11:59:11 -07:00
Paul Kaplan
6eaf6312b9
Include library JSON files in package distribution
...
Files like src/lib/libraries/sprites.json were being used by
packages like scratch-desktop in order to fetch all the library
assets for offline access. We stopped publishing src in #5263 to
stop bloating the dist with copies of src files. Explicitly
exporting the files that are needed by other repos is a better
long-term plan.
The files are now published to dist/libraries/*.json. Once this is
merged those repos that use the src/ path need to change it to e.g.
`require('scratch-gui/dist/libraries/backdrops.json')`
2019-11-01 10:54:52 -04:00
Ray Schamp
413df6ed65
Move browsers options to .browserslistrc
...
Apparently this is the recommendation for loaders that look at the `browsers` option.
2019-07-11 14:00:24 -04:00
Eric Rosenbaum
37826cb901
add vernier module to webpack config
2019-03-25 17:18:37 -04:00
chrisgarrity
e2a2dcf0fd
Set static asset path (publicPath) with environment var
...
Allows consumers of gui (desktop, android, etc) to rebuild gui with a relative path for static assets. Default is an absolute path as that is what is required for www.
2019-03-13 10:55:11 +01:00