Commit Graph

86 Commits

Author SHA1 Message Date
Yura Bondarenko
7b4716c439 Filter Webpack warnings 2022-06-28 10:55:12 +02:00
Yura Bondarenko
21579d1525 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-05-13 09:32:34 +02:00
Michael Spalti
d32566beda Mirador webpack build fix. 2022-04-28 12:38:35 -07:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Yura Bondarenko
7e391f0411 90978: Serve pre-compressed static files 2022-04-28 12:16:46 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
Yura Bondarenko
bfdda43a48 87968: Update devServer configuration 2022-04-08 17:57:16 +02:00
Yura Bondarenko
0e178ce1bc 87968: Fix missing theme assets
Adapt to changes in https://github.com/webpack-contrib/copy-webpack-plugin
2022-04-08 17:57:15 +02:00
Yura Bondarenko
29d8dd68f4 87968: Remove html-webpack-plugin
After updating to Angular 12, it causes ng serve to fail with
  Conflict: Multiple assets emit different content to the same filename index.html

Confirmed that the application still builds and runs properly without it.

This plugin isn't used by @angular-builders/custom-webpack since Angular 8 (see https://www.justjeb.com/post/customizing-angular-cli-build#viewer-51npg), this is just the first time it's actually causing problems for us.

Removed script-ext-html-webpack-plugin as well since that's an extension to html-webpack-plugin & can't run without it.
2022-04-08 17:57:15 +02:00
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
William Welling
10622008c4 refactor config filename and convert to yaml 2021-12-08 14:56:52 -06:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00
William Welling
c1555326fa build app config 2021-12-03 21:17:36 -06:00
William Welling
d049caa8c0 remove webpack node externals 2021-11-18 05:03:02 -06:00
William Welling
8d66f68dfa remove bundle workaround, update dependencies and build 2021-11-17 22:11:06 -06:00
Michael W Spalti
98571a496c Merge remote-tracking branch 'origin/iiif-mirador' into iiif-mirador 2021-04-20 14:46:44 -07:00
Art Lowel
cbee776fa4 fix issues with path separators in windows 2021-04-02 16:58:37 +02:00
Michael Spalti
c02983c889 Added webpack configuration for mirador. 2021-03-30 10:54:03 -07:00
Art Lowel
1bb2d5da29 add support for static assets in theme folders 2021-03-03 17:43:37 +01:00
Art Lowel
5a6e4b1278 Add support for dynamic themes 2021-03-01 10:38:05 +01:00
Giuseppe Digilio
eed458569f Fix issue with sass-loader options 2020-12-07 14:28:57 +01:00
Art Lowel
8f822ba4f7 add robots.txt 2020-08-12 13:20:11 +02:00
Art Lowel
05a92f8e5b refactor webpack config 2020-08-12 13:19:23 +02:00
lotte
8bf241c182 angular cli 2020-03-18 16:03:40 +01:00
lotte
04cb75e786 upgraded to angular 8 2020-02-13 11:09:20 +01:00
Giuseppe Digilio
62b555beee fixed vulnerabilty with serialize-javascript 2019-12-19 18:22:35 +01:00
Giuseppe Digilio
be445a7bde Fixed error with UglifyJsPlugin during AOT build after upgrade to angular 7 2019-12-19 13:58:24 +01:00
Giuseppe Digilio
66834bb279 remove resolve-url-loader after upgrade to angular 7 2019-12-19 13:57:51 +01:00
Art Lowel
4896c98f9a apply fix to test webpack config as well 2019-12-02 13:46:34 +01:00
Art Lowel
8c2e63c2a7 fix issue where font urls in scss slow down the build 2019-11-27 14:55:18 +01:00
Art Lowel
36e80e3624 Add support for OTF fonts 2019-11-27 13:30:26 +01:00
Art Lowel
b34e636379 Add support for locally hosted fonts 2019-11-22 18:14:02 +01:00
lotte
5bd1e050fe solve issue with backslashes in paths 2019-06-06 13:55:01 +02:00
Art Lowel
25edc3c952 Add support for resources in themes 2019-06-06 10:30:24 +02:00
Art Lowel
99ca2dedea Revert "switch to relative theme paths for windows support"
This reverts commit a5d61312
2019-06-06 09:28:39 +02:00
Art Lowel
a6bb83b4f8 Revert "make the relativethemePath relative to the project root instead of src root"
This reverts commit c6f18674
2019-06-06 09:28:34 +02:00
Art Lowel
2008c8bc92 Revert "always use forward slashes in relative theme paths"
This reverts commit 7fbde900
2019-06-06 09:28:28 +02:00
Art Lowel
7fbde90095 always use forward slashes in relative theme paths 2019-06-05 18:53:24 +02:00
Art Lowel
c6f1867478 make the relativethemePath relative to the project root instead of src root 2019-06-05 18:49:00 +02:00
Art Lowel
a5d6131238 switch to relative theme paths for windows support 2019-06-05 18:25:51 +02:00
Art Lowel
743be6a2cd add projectroot to sass includedPaths instead of using replace to fix the paths during build 2019-06-05 17:14:22 +02:00
lotte
56b2ee1f0d fixed webpack.test config 2019-06-05 15:52:08 +02:00
lotte
d305adaa07 changed replace regexes to be windows compatible 2019-06-05 15:30:46 +02:00
lotte
ed128d1f17 removed node env variable 2019-06-05 14:25:58 +02:00
Art Lowel
5a47c2f4a7 fix case where there are no custom configs 2019-06-04 18:08:06 +02:00
Art Lowel
c58e6f6239 use config to determine active theme 2019-06-04 17:12:12 +02:00
Art Lowel
8bccdac99d fix dev build 2019-06-03 17:22:55 +02:00
Art Lowel
50effd3b70 fix exposed_variables issue with AoT build 2019-05-31 13:24:04 +02:00
Art Lowel
d93173e8d2 add syncbuilddir step to aot build 2019-05-31 09:44:49 +02:00