162 Commits

Author SHA1 Message Date
Anton Korzunov
363623e54d chore(size): commit size change 2020-10-22 18:51:51 +11:00
Anton Korzunov
50435248e3 fix: loadableReady should not resolve synchronously, fixes #634 2020-10-22 18:51:38 +11:00
Anton Korzunov
51baf955a8 v5.14.0 2020-10-20 23:23:47 +11:00
Anton Korzunov
787e29e9c4 commit size snapshot 2020-10-20 23:23:06 +11:00
Anton Korzunov
575fe2b3f5 fix: treat mjs as script 2020-10-20 23:22:09 +11:00
Anton Korzunov
b4151d85b3
fix: do not derive cache key if component is static, fixes #629 (#630) 2020-10-12 21:31:16 +11:00
Stephane ROBINO
e882e4d812
feat: make packages webpack 5 compatible (#638)
Signed-off-by: Stéphane Robino <stephane@wttj.co>
Signed-off-by: Robert Douglas <robert@wttj.co>
2020-10-12 20:47:34 +11:00
Xingwang Liao
25b532eb53
fix: add key to chunks script elements (#631)
fix #628
2020-09-17 12:18:47 +10:00
Anton Korzunov
94e0c424c9 v5.13.2 2020-09-14 19:38:24 +10:00
Anton Korzunov
c9d1663577
Preparing release 5.14 (#625)
* fix typo #595

* fix: human readable errors

* remove babel-plugin-bind

* abstract stub creation in tests

* apply prettier

* decouple async load and require

* linting
2020-09-09 17:39:58 +10:00
kamikazePT
42fbdd0d55
fix: Fixed lazy usage with Suspense and Error Boundary together (#521)
* Fixed lazy usage with Suspense and Error Boundary together

* Typo

* v1.0.0-fork

* accidental push

* Condition was reversed

* Fixed Suspense with full dynamic import after fulfilled promise

* Added unit test

* cached promise

* added tests for multiple elements of same async component

* renamed unit test

* added retryable error boundary

* reworked tests

* Retrying working for lazy and loadable

* linter should run on pre-commit... :/

* upped max bundle size

* fix: Fixed suspense tests and fixed un-throwable pending promises when using suspense

* refactor: removed unnecessary wait in test

* test: fixed test regarding nested suspense

* test: fixed fucked up assertion

* fix: fixed weird corner case on error boundary not being reached

* feat: removed proxy

* fix: removed unnecessary code

* fix: fixed unnecesssary stack of callbacks
2020-09-05 10:09:22 +10:00
Mark Woodward
95e6ecb0dd fix: spread nested required chunks array 2020-08-04 08:25:46 +01:00
Anton Korzunov
cd5113cc34 apply prettier 2020-07-02 17:47:13 +10:00
Anton Korzunov
8cf392d124 v5.13.1 2020-07-02 17:40:10 +10:00
Anton Korzunov
4a0879ab31 cleanup 2020-07-02 17:26:43 +10:00
Anton Korzunov
831aec0315 fix: expose used chunkNames from a server. Fixes #587 2020-07-02 17:19:11 +10:00
Anton Korzunov
fb0cc38902 v5.13.0 2020-06-29 19:18:14 +10:00
Anton Korzunov
ac5ba84cc0 synchronize snapshots after merging multiple PRs 2020-06-29 18:37:47 +10:00
Anton Korzunov
37d80f2944
Merge pull request #483 from hedgepigdaniel/feat/named-exports
Add support for named exports
2020-06-27 18:59:36 +10:00
Anton Korzunov
6ea00c4c2b
Merge pull request #568 from gregberge/async-558
Allow webpack cache isReady only for initial chunks
2020-06-07 10:24:15 +10:00
Anton Korzunov
e4a7574208
Merge pull request #552 from kaysonwu/master
fix custom webpackChunkName for aggressive import
2020-06-06 09:11:37 +10:00
Anton Korzunov
c6c3086979
Merge pull request #567 from gregberge/cache-560
fix: memory leak in module cache management, fixes #560
2020-06-06 09:01:03 +10:00
Tom
41f862c44c Put style assets first 2020-05-29 12:51:05 +01:00
Anton Korzunov
213679c730 linting 2020-05-15 17:48:29 +10:00
Anton Korzunov
61f8b75b54 fix: allow webpack cache is ready only for initial chunks, fixes #558 2020-05-14 12:26:38 +10:00
Anton Korzunov
6c11703cbc fix: memory leak in module cache management, fixes #560 2020-05-14 09:32:24 +10:00
kaysonwu
836e97cdd3 Enhancement test for pull #552 2020-04-16 10:08:14 +08:00
kaysonwu
385bcc9ead fix custom webpackChunkName for aggressive import 2020-04-12 10:48:00 +08:00
Pavel Pustovalov
5a9c33b222
fix: use make-dir instead of mkdirp (#544)
Remove deprecated mkdirp module.
2020-04-05 20:51:31 +02:00
Simen Bekkhus
03a79b66de
fix(babel-plugin): add missing peer dependency (#524) 2020-02-16 16:20:30 +01:00
Daniel Playfair Cal
a47d3d9021 feat: add resolveComponent option
`resolveComponent` is a synchronous function to resolve the react
component from the imported module and props. Unlike wrappers on the
import function itself, it works on both the client and server side.
2020-01-10 10:14:14 +11:00
Greg Bergé
ac1928f419
chore: fix .npmignore & ignore .size-snapshot.json 2020-01-09 20:47:26 +01:00
Greg Bergé
5e6e080704
v5.12.0 2020-01-09 20:44:14 +01:00
Greg Bergé
6a52a7c4ef
tests: fix codemod tests 2020-01-09 20:38:14 +01:00
Greg Bergé
08a23a0bfe
chore: upgrade deps 2020-01-09 20:14:32 +01:00
Jacky Efendi
a82d5ad1e1 feat: add codemods to migrate from react-loadable (#463) 2020-01-09 20:06:14 +01:00
Joe Bateson
338bf555ad feat: avoid synchronous loading on client if options.ssr is false (#346) 2020-01-09 20:01:06 +01:00
Greg Bergé
93b06e6050
Merge pull request #487 from hedgepigdaniel/perf/toJson
perf: avoid calling stats.toJson if possible
2020-01-09 11:42:11 +01:00
Anton Korzunov
ac5ba45862 fix: apply loadable transformations before any other, fixes #466 2020-01-03 08:31:50 +11:00
Daniel Playfair Cal
87698de079 perf: avoid calling stats.toJson if possible 2019-12-20 17:03:14 +11:00
Greg Bergé
c0f704bf92
chore: update funding 2019-12-06 15:06:35 +01:00
Greg Bergé
2c6bc5156d
v5.11.0 2019-12-02 11:50:19 +01:00
Greg Bergé
29963d5130
chore: upgrade dependencies (#468) 2019-12-02 11:49:21 +01:00
Brandon Pereira
064b4f83b2 fix(server): use require instead of module.require (#457)
this improves support with 'esm' package

Closes #455
2019-12-02 11:38:11 +01:00
Anton Korzunov
30243482be fix: fix isReady problem (#445)
Closes #400
2019-12-02 11:37:38 +01:00
Anthony
586ad0af6e feat: add support for SRI (integrity) (with webpack-subresource-integrity) (#436) 2019-09-25 14:56:48 +02:00
Greg Bergé
38ce5f0b5a
v5.10.3 2019-09-24 20:17:54 +02:00
Greg Bergé
addcc45a0b
Merge pull request #434 from smooth-code/upgrade-deps
Upgrade deps & website
2019-09-19 09:33:23 +02:00
Matt Browne
d98dd2778a fix(babel-plugin): fix bug when using + concatenation instead of a template literal (#425) 2019-09-19 08:42:42 +02:00
Julien Pradet
d4428c6d24 fix: empty cache on each server reload (#431)
Fixes #230
2019-09-19 08:39:48 +02:00