507 Commits

Author SHA1 Message Date
dependabot[bot]
d33bc656dd
chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /website
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 20:28:31 +00:00
Anton Korzunov
0e4b57fed4 v5.16.0 v5.16.0 2023-07-09 16:08:19 +10:00
Anton Korzunov
edaf30c2ca update documentation for babel plugin 2023-07-09 16:07:46 +10:00
Edward Kimmel
e18e37afd8
feat: Allow additional identifiers to be passed in to the babel plugin (#966)
* Allow additional identifiers to be passed in to the babel plugin

* Now allowing an array of name/package entries to be transformed
2023-07-06 12:57:59 +10:00
Øyvind Saltvik
2d1645d855
Added getEntrypointPath to ChunkExtractor and reading json from fs (#951)
* Added getEntrypointPath to ChunkExtractor and reading json from inputFilesystem instead of require

* Adds getAllScriptAssetsPaths to ChunkExtractor
2023-02-03 14:00:16 +11:00
Anton Korzunov
82c7019502 v5.15.3 v5.15.3 2023-01-28 15:28:30 +11:00
Anton Korzunov
32237cb6fe chore: use fixed npm registry 2023-01-28 15:28:09 +11:00
Anton Korzunov
66edc37a73 fix: add React 17 and 18 to package dependencies, fixes #718 2023-01-28 15:24:22 +11:00
Øyvind Saltvik
ede55583c4
Support renamed imports in babel-plugin (#929)
* Support renamed imports in babel-plugin

* Added back default behaviour with a plugin option
2022-12-12 12:20:14 +11:00
Øyvind Saltvik
3ec9b64009
Added transformation of lazy (#925) 2022-12-05 16:57:26 +11:00
official_dulin
a32a7aa311
Fixed spell issue (#895) 2022-08-03 09:57:15 +10:00
Il Harper
b3a9febff5
chore: fix gatsbyjs link in website/README.md (#890) 2022-04-10 16:13:36 +10:00
Ludvig Hozman
11aaaaa9bc
docs(website) Add note on order of calls for SSR (#855) 2021-12-14 14:33:01 +11:00
Anton Korzunov
711e4b6d31 v5.15.2 v5.15.2 2021-12-12 18:33:43 +11:00
Anton Korzunov
56ef25623d format files 2021-12-12 18:33:14 +11:00
Anton Korzunov
45f2d9133c
fix: use stable promises for load/preload/React (#858) 2021-12-12 18:32:06 +11:00
Matej Vobornik
33cb54dfbb
cache promise on load/preload (#830) 2021-12-12 15:24:42 +11:00
jinasonlin
9ff66939ee
fix: loadAsync Loadable should copy statics (#839) 2021-09-26 13:46:05 +10:00
Martin Jantošovič
3b9cb202a0
fix: Clear correct cache when compiling with Webpack (#838)
* fix: Clear correct cache when compiling with Webpack

* Update packages/server/src/util.js

Co-authored-by: Anton Korzunov <thekashey@gmail.com>
2021-09-26 13:45:15 +10:00
PatrickNausha
1376eec79b
Fix getInlineStyleTags/Elements docs. (#828)
* Fix getInlineStyleTags/Elements docs.

* Make wording more consistent.
2021-09-04 10:49:01 +10:00
Anton Korzunov
629c80e42e v5.15.1 v5.15.1 2021-08-17 18:05:56 +10: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
George
07869f707a
Make example OS agnostic (#768) 2021-05-13 15:38:49 +10:00
Anton Korzunov
e74b3c9d9d v5.15.0 v5.15.0 2021-05-08 17:29:33 +10:00
Anton Korzunov
9305d03844 update node to v12 2021-05-08 17:26:03 +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
OSamkova
8f10896058
Prevent memory leaks in staging by adding env var (#730)
* add env variable to prevent reload

* add env variable to prevent reload

* add env variable to prevent reload

* lint error fix

* prevent memory leaks

* detect HMR
2021-04-07 14:16:15 +10:00
Siarhei Lunski
828361e24d
fix docs: import() syntax a part of language (#737)
* fix docs: import() syntax a part of language

`import()` syntax is officially a part of ECMA2020 so this note can be refined.

https://github.com/tc39/proposal-dynamic-import

* fix type
2021-04-05 19:55:29 +10:00
dependabot[bot]
225caf6cf1
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /examples/webpack/webpack4 (#734)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 19:53:51 +10:00
dependabot[bot]
b58130fa97
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /website (#732)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:56:37 +10:00
dependabot[bot]
9e15a2c3c7
chore(deps): bump y18n from 4.0.0 to 4.0.1 (#729)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:56:01 +10:00
dependabot[bot]
418d95eaab
chore(deps): bump elliptic in /examples/webpack/webpack4 (#719)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.1 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.1...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:55:55 +10:00
dependabot[bot]
4733bd0b41
chore(deps): bump elliptic from 6.5.3 to 6.5.4 in /website (#715)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:55:48 +10:00
dependabot[bot]
eacebf71a8
chore(deps): bump elliptic from 6.5.2 to 6.5.4 (#714)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:55:43 +10:00
dependabot[bot]
16c03329d6
chore(deps): bump prismjs from 1.21.0 to 1.23.0 in /website (#710)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 15:55:37 +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
Emily Marigold Klassen
b640c82a74
fix: add displayNames to generated components (#731)
Co-authored-by: Emily Marigold Klassen <forivall@users.noreply.github.com>
2021-03-31 13:45:07 +11: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
3676e488a7 v5.14.2 v5.14.2 2021-01-31 19:12:39 +11:00
Anton Korzunov
6d0f72cb81 update scripts 2021-01-31 19:03:58 +11:00
Lexi Reicks
a629cc09b4
Include build library step in SSR Example README (#695)
The SSR example doesn't work without building the library, add that as a step for running the example.
2021-01-27 12:45:11 +11:00
Anton Korzunov
c5f2b14dbc add test pregeneration to CI 2021-01-25 00:03:14 +11:00
Anton Korzunov
a9d3d14250 lint 2021-01-24 23:54:55 +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
dependabot[bot]
c8eb7f744c
chore(deps): bump socket.io from 2.3.0 to 2.4.1 in /website (#691)
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/2.3.0...2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 19:11:56 +11:00
dependabot[bot]
2aa7975927
chore(deps): bump dot-prop in /examples/webpack/webpack5 (#687)
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases)
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 19:11:50 +11:00