Commit Graph

20 Commits

Author SHA1 Message Date
Liam Fitzgerald
07518e5cff
interface: inject location of tutorial group at compile tim 2021-02-08 11:02:52 +10:00
Matilde Park
3f059a57d8 Merge branch 'release/next-js' into mp/landscape/indigo-themes 2021-01-12 14:27:22 -05:00
Matilde Park
113aad6db5 meta: remove unnecessary variable 2021-01-05 19:24:51 -05:00
Matilde Park
2c0ecc6494 meta: amend environment variable access 2021-01-05 19:18:35 -05:00
Matilde Park
2005604c9d landscape: use indigo theme imports 2020-11-09 21:47:12 -05:00
Liam Fitzgerald
f14c0ee19e interface, glob: serve source maps externally 2020-10-14 13:26:40 +10:00
Liam Fitzgerald
6794a930b5 interface: rewrite lodash imports with babel
Due to lodash's packaging mechanism, it is unable to treeshake unless
you always import from it in a certain fashion. This commit adds a babel
plugin to rewrite these imports for us.
2020-10-13 11:52:14 +10:00
Liam Fitzgerald
e7d3261252 interface: do not bundle extra locales
Landscape is not localised in any fashion and we never change the
default locale. As such, the locales that moment.js includes in the
bundle are redundant and can be removed
2020-10-13 11:49:57 +10:00
Liam Fitzgerald
abffd4062d interface: disable source maps on production builds
Source maps have never worked correctly on production builds, and the
way that they are bundled into the JS itself negatively impacts our time
to first paint. As such, we disable them for a significant bundle size
improvement (10MB -> 2.4MB)
2020-10-13 11:48:13 +10:00
Liam Fitzgerald
9f0546e926 webpack: update for new bundle location 2020-08-04 10:41:55 +10:00
Liam Fitzgerald
4207e2372e interface: clean dir before webpack build 2020-08-03 11:04:01 +10:00
Liam Fitzgerald
4ab11c13ee interface: version JS changes in webpack
Also fixes a longstanding bug where the compiled JS would be written
twice to the same file, causing the bundle to be twice as large as it
needs to be.
2020-08-03 09:55:04 +10:00
matildepark
5108814645
Merge pull request #3134 from urbit/mp/babel-build
interface: add babel-transform-runtime
2020-07-22 12:16:55 -04:00
Philip Monk
2bafb4a96a
interface: don't require urbitrc for build:prod 2020-07-21 11:15:15 -07:00
Matilde Park
815d9e043c interface: add babel-transform-runtime
Fixes #3132. Prior to this, we hit errors due to Babel not being able
to transform async functions for browsers.
2020-07-15 16:42:56 -04:00
Matilde Park
9686f3483a interface: update production build for typescript 2020-06-29 22:48:17 -04:00
Liam Fitzgerald
05b665f908 interface: convert api and reducers to typescript 2020-06-20 14:49:18 +10:00
Matilde Park
506c8996d6 interface/config: fix production build 2020-06-18 18:04:30 -04:00
Logan Allen
1bbeb8d2a4 landscape: moved chat files to landscape directory and updated to use landscape SPA 2020-06-01 13:55:49 -04:00
Gavin
29aeecfc71 webpack with css importer 2020-06-01 13:54:08 -04:00