24 Commits

Author SHA1 Message Date
Anton Korzunov
56ef25623d format files 2021-12-12 18:33:14 +11:00
Jarrett Confrey
9b34195627
fix: SubResourceIntegrity (#803) 2021-08-07 18:23:53 +10:00
Paolo Priotto
73b17fd067
fix: add cachedAssets to stats options (#779)
fixes #770
2021-05-26 18:20:04 +10:00
Eliseu Monar dos Santos
cea9f249f7
feat: webpack plugin doesn't need all chunk info (#735)
I'm currently working on a pretty massive project with hundreds of split points, thousands of modules (plus node_modules), CSS, hot reloading, all the goodies... but *LoadablePlugin* was taking a very significant amount of time to run (about 1.2s). With these changes it went down to ~7ms.
2021-05-08 12:08:56 +10:00
Yen-Wei Liu
9ad6bf569a
[perf] Set all:false in stats.toJson call (#708)
* [perf] Set all:false in stats.toJson call

* Update options
2021-04-05 15:55:19 +10:00
Will Van Rensselaer
d3513679ed
feat: support multiple Webpack runtimes (#701)
* feat: support multiple Webpack runtimes

* namespace chunk loading global in loadableReady

* Change namespace to chunkLoadingGlobal

* Update size snapshot
2021-04-05 15:54:30 +10:00
Suman Bhattarai
cba6cab475
fix webpack 5 contenthash bug by switching to PROCESS_ASSETS_STAGE_REPORT (#713) 2021-03-04 21:48:26 +11:00
Anton Korzunov
729ac1dd6d refactor server test to regenerate stats fixture from example 2021-01-24 23:50:47 +11:00
Anton Korzunov
41a94412ac Merge branch 'master' of github.com:smooth-code/loadable-components into master 2021-01-24 19:15:59 +11:00
Jason Chen
6926e190c8
fix: ignore css chunk (#689) 2021-01-24 19:15:48 +11:00
Anton Korzunov
a7db05969f chore(lint): reformat webpack plugin 2021-01-24 18:45:56 +11:00
Kévin Berthommier
671ef527e7
fix: update hooks for webpack 5 (#676)
* fix: update hooks for webpack 5

* fix: fix webpack hook type
2021-01-24 18:40: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
Pavel Pustovalov
5a9c33b222
fix: use make-dir instead of mkdirp (#544)
Remove deprecated mkdirp module.
2020-04-05 20:51:31 +02:00
Daniel Playfair Cal
87698de079 perf: avoid calling stats.toJson if possible 2019-12-20 17:03:14 +11:00
Jack Hsu
3767f28240 fix(webpack-plugin): create output folder with mkdirp (#273) 2019-03-19 08:52:55 +01:00
Tadeusz Wójcik
4a6f84fe9f feat(webpack-plugin): support custom path in writeToDisk option (#187) 2019-01-17 09:44:15 +01:00
Morgane Dubus
428599cdc7 docs: add website 2018-12-06 16:45:45 +01:00
code-mcx
2d1fb11134 fix(webpack-plugin): fix TypeError when set writeToDisk true (#170) 2018-11-27 14:49:33 +01:00
Dima Lebedynskyi
6b5ba21612 feat(webpack-plugin): add writeToDisk option (#161) 2018-11-23 15:55:51 +01:00
Greg Bergé
eb1cfe8e21 feat: improve SSR support
BREAKING CHANGE:

- SSR has been rewritten from scratch, if you use it, please follow the
new guide.
- Prefetch component and prefetch functions have been removed, please
use `webpackPrefetch` instead.
2018-11-10 18:05:23 +01:00
Greg Bergé
78e7b2816c fix(server): disable common chunks optim 2018-10-31 15:50:59 +01:00
Greg Bergé
94b2e87e56 feat: add new loadable.lib, change API
BREAKING CHANGE:

- `ErrorComponent` is ignored, please use Error Boundaries to handle errors.
- `lazy` is no longer exported
- `LoadingComponent` is replaced by `fallback` option
- `ref` are now forwarded
2018-10-30 17:12:57 +01:00
Greg Bergé
4dffad7bd2 feat: welcome loadable
BREAKING CHANGE: API has completely changed, see documentation.
2018-10-29 13:04:07 +01:00