Bruno Windels
729e669ec8
add aes-js dep
2020-09-16 18:31:17 +02:00
Bruno Windels
f798a8bca4
add bs58 as a dependency
...
override some of its imports as they would just add
a lot of nodejs fluff that needs stubbing out for a browser.
2020-09-16 18:31:16 +02:00
Bruno Windels
ff09f82f81
add bs58 as a dependency
...
override some of its imports as they would just add
a lot of nodejs fluff that needs stubbing out for a browser.
2020-09-16 16:58:35 +02:00
Bruno Windels
c91290fac2
set theme color as well for pwa
2020-09-14 17:10:52 +02:00
Bruno Windels
9212a1313e
add new icon
2020-09-14 17:08:51 +02:00
Bruno Windels
b8ce97e739
remove duplicate code in build script
2020-09-11 10:44:08 +02:00
Bruno Windels
af36c71a59
load worker in main and pass paths so it works both on compiled and non-compiled
2020-09-10 18:41:23 +02:00
Bruno Windels
fdbc5f3c1d
WIP worker work
2020-09-10 13:00:11 +02:00
Bruno Windels
18a8f291dc
make build script work on windows
2020-09-09 10:32:05 +01:00
Bruno Windels
e8efd52223
Merge branch 'master' into bwindels/e2ee
2020-08-27 20:04:49 +02:00
Bruno Windels
d51d43abfe
use xxhashjs instead which will also work on windows
2020-08-27 20:02:20 +02:00
Bruno Windels
68a3e8867b
populate lib dir entirely in postinstall script
2020-08-27 19:51:04 +02:00
Bruno Windels
cdb83dd3c9
adjust copyright
2020-08-27 19:15:31 +02:00
Bruno Windels
7bf2a3929c
add another-json as a dependency
...
also add a postinstall script to turn it into an ES module,
so it works with our setup
2020-08-27 18:45:54 +02:00
Bruno Windels
92fdbe15df
pass olm paths to main fn
...
so build can adjust the file paths,
and we can prevent olm from loading by not passing them
2020-08-27 13:24:04 +02:00
Bruno Windels
6813fd2264
upgrade from rollup v1 to v2
...
so we can use ?. optional chaining
2020-08-19 11:27:35 +02:00
Bruno Windels
942edf69c7
add package script
2020-08-18 12:17:03 +02:00
Bruno Windels
520dac7cec
dont use mjs extension for ES modules, some (most) servers serve them with the wrong mimetype
2020-08-18 12:16:51 +02:00
Bruno Windels
a094abf4da
remove comments in js bundles, saves ~100kb
2020-08-18 11:47:20 +02:00
Bruno Windels
c73d6bb3cb
serve modern browsers a more compact ES6 bundle
2020-08-18 11:42:13 +02:00
Bruno Windels
989a27395e
deploy script for now
2020-08-14 15:20:36 +02:00
Bruno Windels
3c4805b267
also content-hash the webapp manifest
2020-08-14 11:06:39 +02:00
Bruno Windels
0104e14e0b
map urls in theme css bundles to their content-hashed counterparts
2020-08-14 10:45:14 +02:00
Bruno Windels
044360afaa
add content hashes to build assets
2020-08-13 18:59:31 +02:00
Bruno Windels
e1a5c362dc
add theme assets to offline definition
2020-08-12 16:40:28 +02:00
Bruno Windels
fc8d2efaf2
build theme css bundles
2020-08-12 16:39:35 +02:00
Bruno Windels
c3dc01283d
copy theme assets
...
anything that is not a css file, which will be bundled
woff(2) files are treated specially since we only need WOFF
for legacy (IE11) and only WOFF2 for any modern browser.
2020-08-12 16:37:55 +02:00
Bruno Windels
d283369627
adjust theme paths in html during build
...
also discover themes from index.html to be used elsewhere in build
later on
2020-08-12 16:35:48 +02:00
Bruno Windels
d102abe425
remove windows phone debug scripts
2020-08-12 11:50:17 +02:00
Bruno Windels
ab3c7b7d1f
Use postcss plugins to fix flexbox bugs in IE11 and lack of css vars
2020-08-07 18:15:53 +01:00
Bruno Windels
fdc7f60f4d
Build legacy bundle from same entry point as normal build
...
as the plan is to only use different CSS for IE11, but the same view code
2020-08-07 15:50:18 +01:00
Bruno Windels
8a9bc315e6
don't pass core-js through babel
...
this is what caused the bundle not to load in IE11
2020-08-07 10:08:31 +02:00
Bruno Windels
395bd8e8d4
split up rollup input and output config to prevent warnings
2020-08-07 10:08:08 +02:00
Bruno Windels
d0ba894e2d
apply new license headers in new code
2020-08-05 18:59:16 +02:00
Bruno Windels
45bd49861b
Add build for IE 11
2020-08-05 18:56:06 +02:00
Bruno Windels
3a5e3a69f2
fix postcss api change (breaking semver?)
2020-08-05 18:56:06 +02:00
Bruno Windels
00a85697ab
add license header in all source files
2020-08-05 18:38:55 +02:00
Bruno Windels
eda4022692
show version before login and link to release
2020-03-23 22:46:31 +01:00
Bruno Windels
0c51df220c
release script
2020-03-21 11:32:37 +01:00
Bruno Windels
177b03915d
fix unit tests by updating impunity
2020-03-13 23:26:48 +01:00
Bruno Windels
4b28eee8b9
do non-debug build by default
2019-11-22 08:55:30 +01:00
Bruno Windels
3c57ebf8a0
enable service worker again
2019-10-12 20:23:37 +02:00
Bruno Windels
453e6e1e0c
have build toggle for offline support
2019-09-28 09:45:01 +02:00
Bruno Windels
d8696bea1d
add offline availability with service worker and appcache
2019-09-15 14:32:12 +02:00
Bruno Windels
e372914e7e
update build script for debug boilerplate and possibility for appcache
2019-09-15 12:22:43 +02:00
Bruno Windels
412ced594a
basic build script with js and css bundling
2019-09-15 09:14:20 +02:00
Bruno Windels
17335db86c
add non-caching server for local dev
...
as browsers seem to try and cache ES modules aggresively
2019-02-16 02:57:19 +01:00