Commit Graph

31 Commits

Author SHA1 Message Date
Nolan Lawson 4bd181d3cc
fix: update Sapper to latest (#775)
* fix: update to latest sapper

fixes #416

* fix error and debug pages

* requestIdleCallback makes column switching feel way nicer than double rAF

* add export feature

* add better csp info

* workaround for sapper sub-page issue

* clarify in readme about exporting

* fix now config

* switch from rIC to triple raf

* style-loader is no longer used

* update theming guide
2018-12-11 07:31:48 -08:00
Nolan Lawson 4e35c82f94
perf(terser): remove console logs in production (#658) 2018-11-18 09:07:39 -08:00
Nolan Lawson bc3a74bbcb don't wait if idb is blocked, remove workerize-loader (#602)
There are two issues here:

- if IDB is blocked, then the promise never resolves when you log out (and call indexedDB.deleteDatabase) and the app remains in a permanently hung state
- why is IDB blocked? well, something seems to have changed in Chrome 70 such that doing these operations in a web worker causes the blocked error. The benefits of workerizing IDB is so small that I'd rather just remove it at this point.
2018-11-04 13:59:14 -08:00
Nolan Lawson ec1d50f998
fix safari10 uglify issue (#568)
fixes #546
2018-09-23 07:54:59 -07:00
Nolan Lawson 56190efce1
switch from uglify to terser (#567) 2018-09-22 23:08:23 -07:00
Nolan Lawson 9641b7ad1e
tweak timeline loading and worker dev mode (#525) 2018-08-31 09:12:48 -07:00
Nolan Lawson d599f2f308
run idb operations in a web worker (#517) 2018-08-29 19:03:12 -07:00
Nolan Lawson 07fb5e867c
isolate autosuggestion state (#273)
fixes #261
2018-05-06 16:25:17 -07:00
Nolan Lawson c309e5842d
slightly improve Svelte 2.0 compatibility (#244)
* slightly improve Svelte 2.0 compatibility

* fixup

* fix lint
2018-04-29 22:13:41 -07:00
Nolan Lawson e342eadbd0
improve dev environment, enable HMR (#229) 2018-04-28 12:10:50 -07:00
Nolan Lawson bf36667002
use chunks:all in webpack splitChunks (#193)
* use chunks:all in webpack splitChunks

* tweak webpack settings
2018-04-20 23:35:07 -07:00
Nolan Lawson 74ea773c25
remove lodash forEach to reduce bundle size (#156) 2018-04-17 21:47:39 -07:00
Nolan Lawson 8cdfdd9bc6
better JS size and async CSS with mini-css-extract-plugin (#145)
* better JS size and async CSS with mini-css-extract-plugin

* fix sourcemaps
2018-04-17 08:19:15 -07:00
Nolan Lawson 6169b53643
simplify webpack config (#124) 2018-04-14 18:20:21 -07:00
Nolan Lawson 96f02f349b improve webpack dev mode (#104) 2018-04-13 20:49:52 -07:00
Nolan Lawson 9030a24d2b
Preserve Uglify source maps in production (#103) 2018-04-13 20:17:36 -07:00
Nolan Lawson 8e10c18080 fix webpack source maps for firefox
[skip ci]
2018-04-12 17:52:32 -07:00
Nolan Lawson 143d80c94e tweak webpack config to make it faster and more correct 2018-03-24 18:17:55 -07:00
Nolan Lawson 18c66d5655 add lodash features we were using 2018-03-16 23:38:28 -07:00
Nolan Lawson d6073e33ff fix sourcemap config 2018-03-04 16:42:04 -08:00
Nolan Lawson ff9ffc2308 upgrade webpack to v4 2018-03-04 09:25:44 -08:00
Nolan Lawson 1ef3238974 tweak webpack config 2018-02-14 22:23:28 -08:00
Nolan Lawson 2e83bc0ff9 use standard 2018-02-08 22:29:29 -08:00
Nolan Lawson 556214bbf2 allow async chunks 2018-02-06 21:15:08 -08:00
Nolan Lawson 7a510101d0 automatically remove console logs 2018-01-27 08:22:23 -08:00
Nolan Lawson 67f2e6241d remove setImmediate polyfill 2018-01-20 20:52:40 -08:00
Nolan Lawson a012bcfecd code cleanup 2018-01-19 17:17:24 -08:00
Nolan Lawson 3da20697ca reduce lodash size 2018-01-19 01:04:05 -08:00
Nolan Lawson 13231a8af4 improve bundle size, add webpack-bundle-analyzer 2018-01-14 17:50:29 -08:00
Nolan Lawson 03c98ab31f do temporary workaround for sveltejs/sapper#79 2018-01-14 12:09:59 -08:00
Nolan Lawson c3a8f847aa initial commit 2018-01-06 15:51:25 -08:00