Dannon Baker
eb487ae14a
Merge remote-tracking branch 'upstream/dev' into toolshed-bundles
2023-10-11 11:15:05 -04:00
Laila Los
3da7acec65
disable console instead of dropping
2023-07-06 06:40:57 +02:00
Dannon Baker
dfa64b6a9e
Build highest quality sourcemaps when requested, drop console completely for production build.
2023-02-14 07:59:24 -05:00
Dannon Baker
e6eacfe45b
Separate optimizations for more control in webpack config. Default dev build to saving ~30% time
2023-02-14 07:59:24 -05:00
Dannon
7deeb2edda
Merge pull request #15380 from dannon/serve-followup
...
[23.0] Client README updates, watch/serve tweaks
2023-01-26 10:54:02 -05:00
Dannon Baker
7674416df0
Swap default binding from localhost to explicit ipv4 loopback
2023-01-24 16:43:57 -05:00
Dannon Baker
5ab06841da
Attempt to force result order?
2023-01-24 16:23:39 -05:00
Dannon Baker
bd25f11a5d
Have webpack dev server write files to disk by default -- this should be equivalent to the old watch mode
2023-01-24 09:02:03 -05:00
mvdbeek
e9cd987e90
Allow configuring webpack devserver port
...
Should be useful when you're debugging against a live server and a local
instance.
2023-01-24 14:29:05 +01:00
Dannon Baker
891cdb659b
Ensure webpack cleans between builds
2023-01-20 10:19:48 -05:00
Dannon Baker
527736280d
Build to dist, then we stage, to separate the process.
2023-01-20 10:19:48 -05:00
Dannon Baker
8486594b0b
Configure webpack to resolve tsconfig aliases; set said aliases
2022-12-12 13:46:07 -05:00
Dannon Baker
1faa50e75f
Separate application tsconfig from testing base
2022-12-05 08:59:41 -05:00
Dannon Baker
f576258320
Move global type declarations to types dir
2022-12-05 08:59:41 -05:00
Dannon Baker
7eca34139c
Add vue shim
2022-12-05 08:59:41 -05:00
Dannon Baker
5521dc79a4
Allow synthetic default imports
2022-12-05 08:59:41 -05:00
Dannon Baker
f83c10bffb
Initial deps and config for typescript
2022-12-05 08:59:41 -05:00
John Chilton
b314a439c3
Convert rules specification to typescript.
2022-11-16 13:40:32 -05:00
Dannon Baker
345ec1b424
optimization tweaks for toolshed entry
2022-11-16 10:56:10 -05:00
Dannon Baker
fa9c3e4c95
Allow parallel builds, enh specificity for optimizatino rules since we'll do toolshed differently.
2022-11-16 10:55:26 -05:00
Dannon Baker
e8cfa23495
First steps separating webpack builds, extracting toolshed. These are never deployed on the same host and the caching of shared objects is not useful, and this allows us to trim lots from the toolshed builds.
2022-11-16 10:55:26 -05:00
guerler
51473fe2c3
Prep toolshed specific bundle, duplicate and rename bundle entries as first step
2022-09-13 11:29:59 -04:00
guerler
e56607dd1d
Redirect to client end-point instead of filling template
2022-08-26 15:40:13 -04:00
guerler
fbabcf178d
Remove legacy admin router and bundle entry point (for now)
2022-08-25 10:28:16 -04:00
Dannon Baker
a342439e15
Add license global using webpack.DefinePlugin, use in about
2022-08-15 17:16:53 -04:00
Dannon Baker
b3bd8fe5e7
Attempt to force a single vue resolution in webpack
2022-08-11 17:24:00 -04:00
Dannon Baker
057b877f1c
Use same Date object for internal and external timestamps (was probably close enough, but...)
2022-07-13 15:19:53 -04:00
mvdbeek
651221510a
Attempt to use epoch of client build time for cache busting
...
Store webpack build hash in meta.json file, and use that to setup
the cache busting.
This should prevent clients from unnecessarily reloading client bundles
when the server restarts and/or when individual workers finish booting
at staggered intervals.
This became more important with usegalaxy.org not forking off workers
from a preloaded master (so all workers would have the same starttime).
2022-07-13 22:16:14 +03:00
Alireza Heidari
885a88e750
Add allowedHosts and webSocketURL to webpack.config.js
2022-06-20 03:48:24 +04:30
Dannon Baker
43f5f12190
Plug clientBuildInfo into Galaxy app
...
Documentation; fix eslint no-undef
2022-05-05 13:49:00 -04:00
Dannon Baker
69dac357dd
Drop useless escapes in regex
2022-05-02 11:19:32 -04:00
Dannon Baker
c2e57ce84b
Easier manipulation of modules excluded from build
2022-05-02 11:17:00 -04:00
Dannon Baker
4e1f2e2e08
Pops prismjs out of the big common libs bundle for a dynamic load.
2022-04-30 07:26:20 -04:00
Marius van den Beek
59a9fac72d
Merge pull request #13800 from dannon/no-mo-moment
...
Elminate client (direct) dependency on moment.js
2022-04-25 17:27:56 +02:00
Dannon Baker
473935f6ea
Remove Galaxy moment dependency. Left in cacheGroup rule to prevent third party included lib from ending up in libs bundle, too.
2022-04-22 22:30:46 -04:00
Dannon Baker
7c18ccd2ff
Drop babel transpile step from webpack
2022-04-22 11:46:47 -04:00
Dannon Baker
a850550e40
Remove UUID webpack alias; this was to fix pouchdb which we no longer use.
2022-04-21 15:45:33 -04:00
Dannon Baker
48f7ec8e11
Polyfill assert
2022-02-07 19:44:59 -05:00
Dannon Baker
b48243f515
Util polyfill
2022-02-07 19:44:59 -05:00
Dannon Baker
9fd7376bc5
Querystring-es3 polyfill
2022-02-07 19:44:59 -05:00
Dannon Baker
58e6f2257d
Fix publicPath and asset handling when using webpack-dev-server for HMR
2022-01-12 09:07:46 -05:00
mvdbeek
e0b3df5a72
Drop ASGI staticfiles for now
...
It somehow causes test_non_data_connections to fail ...
we should figure this out, but it's not a blocker.
2022-01-05 13:31:59 +01:00
mvdbeek
d50277d792
No double slash in selenium
2022-01-05 13:31:59 +01:00
mvdbeek
a7f42aa352
Drop publicPath setting from webpack config
2022-01-05 13:31:55 +01:00
Dannon Baker
4d36c4b1ef
Polyfill process/browser
2021-10-19 14:47:57 -04:00
Dannon Baker
c3605c7112
Merge remote-tracking branch 'upstream/release_21.09' into dev
2021-10-19 09:59:21 -04:00
Dannon Baker
0f3e776dc6
Fix webpack config to shift chunks out of libs for screenshot deps
2021-10-15 20:21:50 -04:00
Dannon Baker
559a21a872
Upgrade dart-sass, set quietDeps (silences warnings out of our control, at least).
2021-10-07 15:06:44 -04:00
Dannon Baker
f474a09c4d
Drop moduleLocalName for underscore, too
2021-10-01 07:54:03 -04:00
Oleg Zharkov
25bf8fc942
fix tours
2021-09-30 20:28:41 +02:00