Commit graph

171 commits

Author SHA1 Message Date
Alex Gleason
ed223a9ff6
Allow custom HTML snippets in build 2022-04-20 13:58:22 -05:00
Alex Gleason
7882bbf98f
Convert application entrypoint files into Typescript 2022-04-15 19:54:40 -05:00
Alex Gleason
4adb42e426
Webpack: add DeadCodePlugin to detect unused files 2022-04-14 15:22:37 -05:00
Alex Gleason
424d5d65af
Merge remote-tracking branch 'origin/develop' into next 2022-04-12 12:40:13 -05:00
Alex Gleason
7394452ad9
ForkTsCheckerWebpackPlugin: increase typescript memory limit to 8GB, fixes #865 2022-04-12 12:38:19 -05:00
Alex Gleason
40ac9bece9
Enable the ServiceWorker 2022-04-05 14:43:29 -05:00
Alex Gleason
4d9217edff
Use localhost:3036 2022-03-21 13:33:45 -05:00
Alex Gleason
5cd894ab02
Truth Social 2022-03-21 13:14:26 -05:00
Alex Gleason
ea0b6e7fff
Copy custom instance files into the build 2022-03-05 14:38:21 -06:00
Alex Gleason
36ca05c85b
Support adding custom locale files at build time 2022-03-03 16:12:25 -06:00
Alex Gleason
3a5c62cb70 Revert "Merge branch 'revert-f59d977a' into 'develop'"
This reverts merge request !1056
2022-02-27 00:13:35 +00:00
Alex Gleason
1f549ebe1a Revert "Merge branch 'typescript' into 'develop'"
This reverts merge request !859
2022-02-26 23:55:34 +00:00
Alex Gleason
2b235a80e4
Merge remote-tracking branch 'origin/develop' into typescript 2022-02-19 01:25:06 -05:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order 2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order 2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order 2022-01-10 16:01:24 -06:00
marcin mikołajczak
4e04f06142 eslint: add key-spacing and space-unary-ops rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-24 18:28:35 +01:00
Alex Gleason
c356597523
sw.js: fix match against undefined pathname 2021-11-15 13:04:03 -06:00
Alex Gleason
f826d620b4
Start adding Typescript support 2021-11-04 19:28:04 -05:00
Alex Gleason
bcc55e9e85
Webpack: refactor devserver env 2021-11-03 23:41:55 -05:00
Alex Gleason
7fdf22b206
ServiceWorker: clean up entry.js and web_push_notifications.js 2021-10-21 15:31:09 -05:00
Alex Gleason
3edd81e899
ServiceWorker: add /instance to backendRoutes 2021-10-21 12:22:20 -05:00
Alex Gleason
c9590abd18
ServiceWorker: don't redirect API routes with appShell 2021-10-20 22:07:48 -05:00
Alex Gleason
a16b246d41
ServiceWorker: do serve index.html from the ServiceWorker after all, add appShell option 2021-10-20 17:07:10 -05:00
Alex Gleason
2015560a42
Replace ForkAwesome with LineAwesome 2021-09-26 23:09:19 -05:00
Alex Gleason
58adc67e4b
Webpack: serve SVG icons as files 2021-09-26 20:00:16 -05:00
Alex Gleason
eae82538e5
Webpack: allow any host to access devServer 2021-09-22 10:34:14 -05:00
Alex Gleason
a0de32bcb0
StatusActionBar: update icons 2021-09-20 20:49:24 -05:00
Alex Gleason
3de8dcced0
Tabler: add icons to ThumbNavigation 2021-09-20 17:05:59 -05:00
Alex Gleason
26c7068d66
Add Tabler icons 2021-09-20 15:33:28 -05:00
Alex Gleason
25075074ff
webpack/index.js --> webpack.config.js 2021-09-17 11:26:57 -05:00
Alex Gleason
cb23506c49
Properly upgrade axios, redux, react-redux, @gamestdio/websocket, and react-swipeable-views. Fixes redux. 2021-09-16 11:04:42 -05:00
Alex Gleason
3a784bc436
Webpack: disable fullySpecified resolving 2021-09-15 22:32:40 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin 2021-09-12 10:51:58 -05:00
Alex Gleason
a720f3ea32
Webpack: OfflinePlugin improvements 2021-09-10 20:11:36 -05:00
Alex Gleason
1c39e1b086
Webpack: fix some warnings from OfflinePlugin 2021-09-10 19:39:39 -05:00
Alex Gleason
ec474ba4c2
Webpack: use one entrypoint 2021-09-10 19:30:47 -05:00
Alex Gleason
e5fd60dbdb
Webpack: reorganize module assets rules 2021-09-10 19:18:51 -05:00
Alex Gleason
0aa0828e13
Webpack: really don't serve audio with sw.js 2021-09-10 17:43:35 -05:00
Alex Gleason
3359bda7f8
Webpack: bundle sounds as assets 2021-09-10 17:23:37 -05:00
Alex Gleason
19181f40c3
Webpack: bundle Twemoji icons as assets 2021-09-10 17:15:57 -05:00
Alex Gleason
50caa0d1d8
Webpack: replace file-loader with asset/resource asset module 2021-09-10 16:17:37 -05:00
Alex Gleason
275d898a63
Webpack: simplify module.rules 2021-09-09 12:00:42 -05:00
Alex Gleason
46baa4119f
Webpack: fix devServer with subdirectory 2021-09-08 20:43:55 -05:00
Alex Gleason
cb65075d1b
sw.js: really, actually don't serve instance files 2021-09-08 10:57:58 -05:00
Alex Gleason
62124ac024
Webpack: don't cache sounds in OfflinePlugin 2021-09-06 19:20:47 -05:00
Alex Gleason
7540570ff5
Webpack: get rid of CompressionPlugin 2021-09-06 17:59:50 -05:00
Alex Gleason
cb399a3878
Webpack: implicit TerserPlugin 2021-09-06 11:47:30 -05:00
Alex Gleason
111ae408b2
Lint: fix require .js extension 2021-09-05 20:36:11 -05:00
Alex Gleason
15283102d1
Upgrade Webpack to v5 2021-09-05 19:34:05 -05:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY 2021-09-05 13:21:39 -05:00
Alex Gleason
e8623d0af8
Webpack: UnusedFilesWebpackPlugin: ignore locale whitelist files, about.example 2021-09-04 16:19:33 -05:00
Alex Gleason
5ea4a8e869
Webpack: suppress output 2021-09-04 16:05:20 -05:00
Alex Gleason
16470c605f
Webpack: remove unneeded NormalModuleReplacementPlugin
It was adding 1 minute to build time, and the upstream issue is already fixed: https://github.com/remix-run/react-router/pull/5589
2021-09-04 15:27:31 -05:00
Alex Gleason
9700deeba5
Webpack: add SpeedMeasurePlugin 2021-09-04 15:19:50 -05:00
Alex Gleason
ecb2c1de25
Subdirectory fixes: sounds, publicPath 2021-09-04 12:59:28 -05:00
Alex Gleason
7861270355
Build config: add FE_BUILD_DIR to configure the output path 2021-09-03 14:42:31 -05:00
Alex Gleason
54d7d9c6db
Webpack: don't cache build_config with @preval 2021-09-03 14:00:54 -05:00
Alex Gleason
868f514f5b
Webpack: use FE_BASE_PATH as publicPath 2021-09-03 13:49:18 -05:00
Alex Gleason
f8270181ab
Merge remote-tracking branch 'origin/develop' into fe-basename 2021-09-03 13:31:27 -05:00
Alex Gleason
bc759c87b2
Webpack: copy files into /static instead of starting them there 2021-09-03 13:06:04 -05:00
Alex Gleason
66b67440fe
FE_BASE_PATH: set output directory 2021-09-03 11:50:39 -05:00
Alex Gleason
bba6716cf7
Webpack: generate 404.html during build 2021-08-30 17:17:32 -07:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
856a04aa76
sw.js: Exclude index.html so Bromite Browser doesn't crash 2021-07-22 21:29:01 -05:00
Alex Gleason
655d5393a3
Webpack: output to 'static-test' for tests 2021-07-21 16:43:41 -05:00
Alex Gleason
f061954fdb
Webpack: switch build directory to 'static' instead of 'static/packs', fix sw.js 2021-07-21 16:13:24 -05:00
Alex Gleason
8d9f3b561f
Webpack: proxy favicon.png to the backend in devServer 2021-07-19 13:14:19 -05:00
Alex Gleason
d86eb6d848
Webpack: don't mangle output in TerserPlugin 2021-07-11 22:21:44 -05:00
Alex Gleason
cc5084c481
Remove deprecated uglifyjs-webpack-plugin 2021-07-11 22:13:18 -05:00
Alex Gleason
225f61cc5b
Merge branch 'upgrade-emoji-mart' into fix-notifications-tab 2021-07-10 02:00:29 -05:00
Alex Gleason
a3d5d1a882
Upgrade emoji-datasource to 5.0.0 2021-07-10 00:43:49 -05:00
Alex Gleason
08d38f09e2
Babel: enable useBuiltIn option to turn on polyfills 2021-07-09 20:47:35 -05:00
Alex Gleason
ba062a0c7d
Include sheet_10.png in build 2021-04-17 14:21:12 -05:00
Alex Gleason
651e45b96d
Package emojis as a dependency of twemoji 2021-04-17 13:30:22 -05:00
Alex Gleason
8b7c8f6eac
Fix preval cache issues 2021-03-30 15:52:58 -05:00
Alex Gleason
5b93da45ca
Don't cache code.js 2021-03-30 15:24:02 -05:00
Alex Gleason
85939e9ec6
Add UnusedFilesWebpackPlugin to detect unused files 2021-03-23 15:22:10 -05:00
Alex Gleason
a5ed1998d7
Merge remote-tracking branch 'origin/develop' into remote_follow 2021-01-27 19:14:22 -06:00
Sean King
0316c7cf72
Move out of webpacker.yml 2020-10-08 08:43:00 -06:00
Sean King
c27d59e970
Migrate devServer settings from webpacker.yml to development.js 2020-10-07 22:02:53 -06:00
Alex Gleason
dfcac33fe1
Update dependency webpack-merge to v5 2020-10-07 16:33:56 -05:00
Alex Gleason
03dc10cf7d
CompressionPlugin: use default params for filename and cache 2020-10-07 15:45:53 -05:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Sean King
cdd22a78dd Add ostatus backend points for development 2020-09-15 21:05:39 -06:00
Alex Gleason
3cff9538e2
Upgrade uglifyjs-webpack-plugin to latest version 2020-09-10 18:48:45 -05:00
Alex Gleason
c0dc4a69cd
Allow local dev against gleasonator.com 2020-08-26 12:29:42 -05:00
Alex Gleason
93ae2fff9b
Don't strip comments from HTML 2020-07-15 11:10:27 -05:00
Alex Gleason
751261a173
Local dev: proxy patron endpoints again 2020-07-04 14:01:54 -05:00
Alex Gleason
73b275b8da
Patron updates 2020-06-30 17:33:21 -05:00
Alex Gleason
7147cfe662
Upgrade babel-plugin-react-intl 2020-06-06 13:50:18 -05:00
Alex Gleason
e935fb90b9
Remove generateLocalePacks.js 2020-06-04 17:31:17 -05:00
Alex Gleason
d5fba20091
Update gab references 2020-06-02 17:45:06 -05:00
Alex Gleason
9d242a403b
Simplify Webpack CSS 2020-05-31 23:09:21 -05:00
Alex Gleason
4d484153ac
More SCSS variable replacements 2020-05-31 15:17:10 -05:00
Alex Gleason
da3e63596b
Webpack: Reduce to one entrypoint, app/application.js 2020-05-28 18:46:24 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Alex Gleason
69df2728f4
Proxy /auth/password to the backend 2020-05-24 19:18:17 -05:00