Commit Graph

17 Commits

Author SHA1 Message Date
Tobias Speicher d20d7734cd
Replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-14 01:22:33 +02:00
Michael Telatynski acd881385c Mass Tabs -> Spaces conversion 2021-07-23 12:25:21 +01:00
Michael Telatynski eb9ebaf28e Print port in serve-local script 2021-07-14 14:19:15 +01:00
Bruno Windels 9b6a282e5f bring back badge added in PR #21 2021-06-11 10:01:42 +02:00
Bruno Windels 533b13746d exit package script if anything fails
like running the wrong node version for the build
2021-02-04 17:15:36 +01:00
Bruno Windels 1cab51249e use same csp header for local dev as matrix.to 2021-02-04 11:31:42 +01:00
Bruno Windels 93081b9909 not legacy anymore, is it? 2021-02-04 11:31:29 +01:00
Bruno Windels 5aa2858f4b fix need for unsafe-eval in CSP header 2021-02-04 11:31:07 +01:00
Bruno Windels a4642540b4 remove es6 module build, as we use some unsupported syntax in there
chrome 61 supports modules, but support for the coalesce operator
was only added in chrome 80. We don't transpile any syntax in the
es6 build, so things break in chrome 61 - 79. Let's just have everyone
use the legacy build which is only ~150kb instead of ~30kb and
not run the risk of running into more issues like this.

Alternatively, we can transpile some of the more recent syntax
features we use like coalescing operator, but don't feel like
making an exhaustive list of these atm.
2021-02-03 18:53:33 +01:00
Bruno Windels 9464bdb499 package script 2020-12-08 15:43:59 +01:00
Bruno Windels 9760b78f16 change build dir to "build" as in previous project 2020-12-04 12:34:57 +01:00
Bruno Windels 5704ade5dc more build script cleanup 2020-12-03 13:27:48 +01:00
Bruno Windels 8eb6ea6d6c only open links with ios app so you can still create links 2020-12-03 13:22:42 +01:00
Bruno Windels 604dda7380 create apple-app-site-association during build 2020-12-03 12:35:21 +01:00
Bruno Windels 685ff40ea3 use port 5000 for local dev
otherwise hydrogen sw kicks in for me
2020-12-03 11:06:41 +01:00
Bruno Windels fd9bd48925 add build script 2020-12-03 11:06:10 +01:00
Bruno Windels 7a6efbcf90 initial commit 2020-11-27 17:05:20 +01:00