488 Commits

Author SHA1 Message Date
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
dependabot[bot]
32b315bba8
chore(deps): bump dot-prop in /examples/webpack/webpack4 (#692)
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:45 +11:00
Anton Korzunov
0951e7bb94 update webpack4 and webpack5 examples 2021-01-24 19:10:28 +11:00
Anton Korzunov
a7db05969f chore(lint): reformat webpack plugin 2021-01-24 18:45:56 +11:00
Anton Korzunov
cbc3ff63b3 update examples 2021-01-24 18:45:23 +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
dependabot[bot]
ed794e3bfb
chore(deps): bump ini from 1.3.5 to 1.3.8 in /examples/webpack/webpack5 (#674)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 18:36:09 +11:00
dependabot[bot]
d89aa592a8
chore(deps): bump ini from 1.3.5 to 1.3.8 in /examples/webpack/webpack4 (#673)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 18:36:03 +11:00
dependabot[bot]
a3c6d28b62
chore(deps): bump ini from 1.3.5 to 1.3.7 (#671)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 18:35:55 +11:00
Jason Chen
dde2252136
fix: remove main asset path query (#686) 2021-01-12 21:07:14 +11:00
Anton Korzunov
89cf124f90 v5.14.1 v5.14.1 2020-10-22 19:10:34 +11:00
Anton Korzunov
d009008fef chore(lint): apply prettier 2020-10-22 19:07:35 +11:00
Anton Korzunov
1725a620c3
Fix sync resolution (#651)
* chore(tests): make breaking case for webpack4

* fix: loadableReady should not resolve synchronously, fixes #634

* chore(size): commit size change
2020-10-22 19:00:35 +11:00
Anton Korzunov
c000d24eb9
chore(tests): build examples during CI (#646) 2020-10-21 18:45:11 +11:00
Anton Korzunov
d84ca53cf1 chore(lint): fix linting 2020-10-21 18:31:57 +11:00
Anton Korzunov
facc3a602b update typescript example 2020-10-21 10:14:39 +11:00
Anton Korzunov
08f76e4411 update examples 2020-10-21 09:55:35 +11:00
Anton Korzunov
51baf955a8 v5.14.0 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