Commit Graph

678 Commits

Author SHA1 Message Date
pooya parsa
a25bdd622d
fix: fix issues with url handling (#8494) 2020-12-16 14:12:16 +01:00
Pooya Parsa
07a6bbe2b0 chore: fix router base handling with dev-middleware (closes #8440)
[release]
2020-12-10 11:40:20 +01:00
renovate[bot]
31483310f0
chore(deps): update all non-major dependencies (#8449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-10 11:34:28 +01:00
Pooya Parsa
79c6cb5ee3 v2.14.11 [hotfix] 2020-12-10 00:25:44 +01:00
Pooya Parsa
d85f4b9264 v2.14.11 [release] 2020-12-10 00:20:26 +01:00
pooya parsa
966796fbdf
fix: fix issues with route normalization (#8462)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-10 00:19:31 +01:00
Pooya Parsa
85bb97906c v2.14.10 [hotfix] 2020-12-07 11:37:14 +01:00
Pooya Parsa
e97051adfa v2.14.10 [release] 2020-12-07 11:28:46 +01:00
pooya parsa
fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
renovate[bot]
31d6abcdb8
chore(deps): update all non-major dependencies (#8441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 16:38:42 +01:00
renovate[bot]
47c4054d23
chore(deps): update all non-major dependencies (#8424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:23 +01:00
Pooya Parsa
dad4590613 chore: 2.14.9 hotfix 2020-12-02 11:39:55 +01:00
Pooya Parsa
e9f380c9e6 v2.14.9 [release] 2020-12-02 11:34:18 +01:00
renovate[bot]
8139352afe
chore(deps): update all non-major dependencies (#8418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 13:03:21 +01:00
Xin Du (Clark)
ab039f051a
feat: update all dependencies that require node 10.x (#8346) 2020-12-01 12:40:50 +01:00
Pooya Parsa
68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +01:00
renovate[bot]
c0ec003da5
chore(deps): update all non-major dependencies (#8417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 10:15:00 +01:00
padinko
da38f96f03
fix(webpack): allow transpiling package in nested node_modules (#8205) 2020-11-30 23:26:46 +01:00
renovate[bot]
8d20da91c3
chore(deps): update all non-major dependencies (#8396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-30 23:18:57 +01:00
Sébastien Chopin
691f21c683
fix(vue-app): handle missing payloads on full static (#8314)
* fix(vue-app): handle missing payloads on full static

Fixes #7717

* chore: rename routesManifest to manifest

* chore: remove console.log

* chore(vue-app): don't have staticAssetsBase if undefined

* chore: add manifest option

* test: update snapshot

* chore: use foundRoute to avoid multiple vars name

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-11-25 15:19:29 +01:00
renovate[bot]
e635cc5044
chore(deps): update all non-major dependencies (#8326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:15:58 +01:00
renovate[bot]
e934da3c36
chore(deps): update devdependency @nuxtjs/eslint-config to v5 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-11-14 17:10:53 +00:00
renovate[bot]
63f5a0ed8c
chore(deps): update all non-major dependencies (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 18:11:56 +01:00
renovate[bot]
8a25a91b60
chore(deps): update all non-major dependencies (#8267) 2020-11-04 13:59:02 +00:00
renovate[bot]
44df8cc1b1
chore(deps): update dependency caniuse-lite to ^1.0.30001154 (#8264)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-29 22:15:26 +00:00
renovate[bot]
918b589772
chore(deps): update all non-major dependencies (#8224)
* chore(deps): update all non-major dependencies

* fix lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-10-29 21:47:05 +00:00
renovate[bot]
d5c05054fe
chore(deps): update all non-major dependencies (#8211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-19 11:59:14 +02:00
pooya parsa
265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
renovate[bot]
044d07cb17
chore(deps): update all non-major dependencies to ^7.12.0 (#8207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 13:11:27 +02:00
renovate[bot]
5b87d1cfc0
chore(deps): update all non-major dependencies (#8177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 12:19:36 +02:00
renovate[bot]
f0c1375477
chore(deps): update all non-major dependencies (#8137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:34:45 +02:00
renovate[bot]
3aa02cf00c
chore(deps): update all non-major dependencies (#8131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 10:55:52 +01:00
renovate[bot]
d7a8548d53
chore(deps): update all non-major dependencies (#8101) 2020-09-28 10:57:10 +01:00
pooya parsa
41176577ad v2.14.6
[release]
2020-09-21 12:30:19 +02:00
renovate[bot]
761d2abb7f
chore(deps): update all non-major dependencies (#8086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:21:07 +02:00
renovate[bot]
3eff45477f
chore(deps): update all non-major dependencies (#8058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-15 16:03:42 +01:00
pooya parsa
3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
pooya parsa
a3d836401c
fix: revert production js chunk names (#8012) 2020-09-09 10:49:31 +02:00
renovate[bot]
0bafd77306
chore(deps): update all non-major dependencies (#8005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 10:22:44 +02:00
renovate[bot]
866b4ddfed
chore(deps): update all non-major dependencies (#7980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-02 12:02:36 +02:00
pooya parsa
1a77fba4eb v2.14.4 2020-08-27 12:25:35 +02:00
renovate[bot]
c44420cd5f
chore(deps): update dependency caniuse-lite to ^1.0.30001118 (#7969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 11:39:28 +02:00
Xin Du (Clark)
11646ba2f6
fix(webpack): no module scripts in spa modern client mode (#7967)
[release]
2020-08-25 21:26:04 +02:00
renovate[bot]
e72d03a49a
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 15:11:17 +01:00
Alexander Lichter
a969e87014
chore: add avif format as image (#7961) 2020-08-25 15:10:22 +01:00
pooya parsa
5e9d759d7b v2.14.3 [release] 2020-08-16 19:03:06 +02:00
pooya parsa
34c56722c8 v2.14.2 [release] 2020-08-16 12:57:53 +02:00
pooya parsa
44471ec9df
fix(webpack): avoid using node_modules for chunk names (#7906)
[release]
2020-08-14 23:59:54 +02:00
renovate[bot]
9914fbd017
chore(deps): update all non-major dependencies (#7914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-14 19:31:22 +02:00
renovate[bot]
5fdfba2279
chore(deps): update all non-major dependencies (#7853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:05:54 +02:00
pooya parsa
c30499d7e0 v2.14.1
[release]
2020-08-04 17:33:56 +02:00
Ahad Birang
c609b4b93d
fix(webpack): support string values for corejsVersion (#7849) 2020-08-04 17:12:59 +02:00
renovate[bot]
c16d199f0f
chore(deps): update dependency caniuse-lite to ^1.0.30001110 (#7842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 11:48:50 +02:00
renovate[bot]
3204f30186
chore(deps): update all non-major dependencies (#7820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 15:57:59 +02:00
renovate[bot]
73a87536b5
chore(deps): update all non-major dependencies (#7811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-30 19:47:08 +02:00
Pooya Parsa
5909de70ea fix: enforce name for all groups to avoid regression (#7808) 2020-07-30 17:10:43 +02:00
pooya parsa
2e1025f2de
fix(webpack): avoid grouping with default name (#7808)
[release]
2020-07-30 16:22:03 +02:00
Rafał Chłodnicki
e295ae7ffd
fix: add types for build.corejs option and use number (#7789) 2020-07-28 14:33:15 +02:00
pooya parsa
60f68638cb v2.14.0 [release] 2020-07-27 19:23:49 +02:00
pooya parsa
1c8cc4c8e6 fix: add missing create-require dependency for webpack 2020-07-27 18:20:37 +02:00
pooya parsa
b51a4a97e7 fix: use core-js package.json to read version 2020-07-27 18:20:05 +02:00
Matthieu Sieben
aebf0ffefd
fix(webpack): ensure loaders are first searched from @nuxt/webpack (#7787)
[release]

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-27 17:19:47 +02:00
Ahad Birang
6a2576b6f6
feat(webpack): auto detect core-js version (#7785)
* feat: add build option to set corejs version

* fix tests

* refactor: improve error handling and warn for invalid corejs version

* fix: only pick major part

* simplify as we are already using try/catch

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-27 15:36:46 +02:00
renovate[bot]
c9a096f4d0
chore(deps): update dependency caniuse-lite to ^1.0.30001107 (#7781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-27 11:03:30 +02:00
renovate[bot]
775831eb30
chore(deps): update all non-major dependencies (#7760)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-26 17:51:34 +02:00
Ahad Birang
4f27cdded8
fix(webpack): font-family hex issue (#7763) 2020-07-26 17:48:58 +02:00
renovate[bot]
45f204c12c
chore(deps): update all non-major dependencies (#7751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-23 09:51:30 +02:00
renovate[bot]
925220da9a
chore(deps): update all non-major dependencies (#7728)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 10:10:29 +02:00
renovate[bot]
d1221aab13
chore(deps): update all non-major dependencies (#7693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 13:13:14 +02:00
Pooya Parsa
5272a48ea9 refactor(server): externalsWhitelist ~> externalsAllowlist 2020-07-09 13:33:20 +02:00
renovate[bot]
6bfb7b5bc1
chore(deps): update dependency webpack-node-externals to ^2.3.0 (#7688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 13:00:37 +02:00
Pooya Parsa
2e5bc24f44 chore(deps): update webpack-node-externals to 2.x 2020-07-09 12:55:18 +02:00
renovate[bot]
a4fdbf8aa2
chore(deps): update all non-major dependencies (#7671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 12:39:06 +02:00
renovate[bot]
4da7fb6e23
chore(deps): update all non-major dependencies (#7668)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-05 23:00:22 +02:00
Simon Tretter
b4ffdab790
fix(webpack): fallback for empty chunk name (#7667)
[release]

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-04 17:28:46 +02:00
pooya parsa
e3821ba78c v2.13.3 [release] 2020-07-02 20:06:42 +02:00
pooya parsa
2302ffa40b fix(webpack): use group hash if compact name is long
Similar fix of webpack/webpack#6429 [release]
2020-07-02 16:27:10 +02:00
renovate[bot]
6979b304ee
chore(deps): update all non-major dependencies (#7642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:59:38 +02:00
pooya parsa
1edac29eba
fix(webpack): use compact name for concatenated modules (#7639)
[release]
2020-06-30 19:47:42 +02:00
renovate[bot]
62282853a8
chore(deps): update all non-major dependencies (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-30 19:20:53 +02:00
Xin Du (Clark)
23324b9eae
fix(webpack): modern build should wait for legacy assets (#7635)
#7562
2020-06-29 17:44:08 +02:00
renovate[bot]
ffb340cc5c
chore(deps): update all non-major dependencies (#7621)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-28 12:27:57 +02:00
pooya parsa
c998072c94 v2.13.2 2020-06-26 20:58:45 +02:00
renovate[bot]
000ad67f99
chore(deps): update dependency consola to ^2.14.0 (#7617) 2020-06-26 17:10:50 +02:00
Denis Karabaza
a87218b745
fix(webpack): explicitly pass outputFileSystem to webpackDevMiddleware (#7613) 2020-06-26 14:55:45 +02:00
pooya parsa
56b158e7d6 v2.13.1 [release] 2020-06-24 10:36:15 +02:00
renovate[bot]
e1de5e8667
chore(deps): update all non-major dependencies (#7594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 10:03:26 +02:00
renovate[bot]
68e7285358
chore(deps): update all non-major dependencies (#7583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-23 13:30:36 +02:00
renovate[bot]
4c410e351d
chore(deps): update all non-major dependencies (#7557)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 11:50:56 +02:00
Pooya Parsa
dbecbe4ada v2.13.0 [release] 2020-06-18 18:48:36 +02:00
renovate[bot]
f2f50115d7
chore(deps): update all non-major dependencies (#7512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 11:28:39 +02:00
renovate[bot]
b19006d1c7
chore(deps): update all non-major dependencies (#7494)
[release]
2020-06-12 15:30:36 +02:00
renovate[bot]
4ca3c769e3
chore(deps): update all non-major dependencies (#7487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 09:30:01 +02:00
pooya parsa
796282ceec
feat: improve production debugging dx (#7463) 2020-06-09 21:45:52 +02:00
Johannes Lamberts
846cfee170
fix(webpack): reduce false negatives in nodeExternals (#7462) (#7464) 2020-06-09 18:40:39 +02:00
renovate[bot]
cbbf6652cd
chore(deps): update all non-major dependencies (#7457)
[release]
2020-06-08 13:01:40 +02:00
renovate[bot]
15bc5b06e6
chore(deps): update all non-major dependencies (#7453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-03 21:27:08 +02:00
Daniel Roe
0610f0b343
feat(webpack): allow babel plugins to be defined by function (#7443) 2020-06-03 21:26:37 +02:00
renovate[bot]
484e70fdd8
chore(deps): update all non-major dependencies (#7433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 18:48:09 +02:00
renovate[bot]
48b11c095f
chore(deps): update all non-major dependencies (#7424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 13:16:14 +02:00
renovate[bot]
5c348c0618
chore(deps): update all non-major dependencies (dev) (#7419)
* chore(deps): update all non-major dependencies

* update size limits
2020-05-27 23:27:20 +02:00
renovate[bot]
2383bcbd0f
chore(deps): update all non-major dependencies (#7417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-26 21:02:56 +02:00
renovate[bot]
ca32427d2e
chore(deps): update all non-major dependencies (#7403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 21:33:34 +02:00
renovate[bot]
51411268af
chore(deps): update all non-major dependencies (#7385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 17:23:32 +02:00
Xin Du (Clark)
b1b14033fb
fix(modern): wrong assets mapping in ssr client modern mode (#7382) 2020-05-17 21:41:07 +02:00
Xin Du (Clark)
ffb9c65f46
feat(ssr): add non async split chunk to preload scripts (#7383) 2020-05-17 21:39:17 +02:00
renovate[bot]
cdf04f4002
chore(deps): update all non-major dependencies (#7363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-16 12:31:59 +02:00
renovate[bot]
c74fb41bde
chore(deps): update all non-major dependencies (#7347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-13 12:06:13 +02:00
Clark Du
498f408d9a chore(deps): update devdependency eslint to v7 2020-05-11 09:21:54 +01:00
renovate[bot]
8af076d5e6
chore(deps): update all non-major dependencies (dev) (#7326) 2020-05-11 09:14:28 +01:00
Sébastien Chopin
917adc0618
feat: options.target and full-static export (#6159)
* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* fix: generate only for SPA

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: add options.target

* fix(lint): lint

* fix(test): update snapshots

* fix(builder): default value for target

* fix(test): fix test

* fix(test): test fixing

* fix: use this.options.target

* fix: final test

* Update packages/vue-renderer/src/renderer.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* feat: Add target option and update banner

* fix(lint): fix

* feat: Add warning when using serverMiddleware in static target

* chore(utils): add TARGETS and MODES as constants

* hotfix: lint

* chore(module): add filename as alias of fileName

* feat: introducing nuxt export and router/routes.json

* hotfix: Fix the linting lord

* chore(core): add comment for filename vs fileName

* fix: use targets constant

* chore: remove warning

* fix: unit testing

* wip: refactor and use TARGETS

* fix: lint

* feat: add target as alias for first arg value

* chore: explain to use nuxt static X

* fix: render SPA fallback on redirect for static target

* fix: lint issue

* fix: only target is useful for now

* wip

* wip: nuxt static export is looking good

* Update packages/generator/src/generator.js

Co-Authored-By: Devon Rueckner <indirectlylit@users.noreply.github.com>

* Update packages/cli/src/options/common.js

Co-Authored-By: Alexander Lichter <manniL@gmx.net>

* fix: duplicate imports

* chore: don't server render if an error happens on static target

* test: update unit and add export

* lint: fix

* lint: fix

* fix: e2e test

* fix: fallback only for static target

* fix: dev test

* feat: add generate.crawler

* fix: full static is when generate.static is given

* chore: improvements

* fix: Add isFullStatic in nuxt/config.json

* feat: handle fetch for full static

* feat: router.prefetchPayloads for full static

* chore: use fetch in async-data example

* fix: add target only if given

* fix: use created to have access to props in fetchOnServer

* chore: add console.error in dev for easy debugging

* feat: payload smart pre-fetching

* fix: remove alias for target

* fix: increment payloadFetchIndex is static set to false

* chore: lint

* chore: add serve command

* chore: rename universal to server-side

* fix: handle payloadPath on SPA fallback

* fix: lint

* chore lint again

* feat: handle spa fallback

* feat: support string for exclude

* fix: fallback only if no extension or html

* chore: use JSON.stringify() for static target

* chore: lint again, dammit

* chore: fix tests and remove too early return

* fix: early return only for server target

* fix: update tests

* fix: unit tests

* chore: add ssr option

* chore: add logic for ssr option

* fix: #6682

* chore(dx): add next command to run

* fix: lint

* fix: tests

* chore: keep old behaviour for nuxt build in spa

* fix: test again, oh boy

* fix: alright this is good now

* chore: add comment for spa fallback

* chore: move routes.json to dot nuxt dir

* chore: simplify check for promise

* chore: unique lock id

* chore: refactor isFullStatic

* fix: dont set default in build context

* chore: add test for serve

* chore: update tests

* hotfix: lint tests

* chore(dx): improve message for bundling

* feat: js payload extraction with jsonp

* fix: keep serialized session script for legacy generate

* fix: call to setPagePayload from fetchPayload

* use devalue for payload chunks

* feat: add initial load state chunk

* feat: preload payload and state scripts

* fix(vue-app): don't re-render the app if trailing slash on SSG

* hotfix: remove console.log

* chore(dx): add deploy infos for nuxt export

Co-authored-by: Pooya Parsa <pyapar@gmail.com>

* chore: handle fetching payload.js for nuxt state

* chore(dx): error when using nuxt generate and static

* chore: remove static option for clarity

* chore: remove serverless target

* hotfix: lint

* hotfix: unit tests

* chore: update legacy js resource

* chore: remove query params from url in static target

* fix: use globalName and urlJoin

* chore: typo

* feat: previewMode 👀

* chore: rename to enablePreview

* fix: wait next tick to avoid error on spa

* chore: try 1 sec

* hotfix: test only for linux, wtf azure

* refactor: static assets

- generalize logic for modules need emit export static assets
- allow customization for version, dir and base
- serialization logic is only in ssr now

* feat: smart state chunk creates

* fix(client): ignore payload load error

* perf: avoide payload loading for spa initial

* perf: avoid loading failed chunks again

* chore(cli): add simple compression for nuxt serve

* test: update snapshots

* fix version snapshot

* fix(generator): set staticAssetsBase on context only for full static

* fix tests

* fix: honor shouldHashCspScriptSrc

* chore(dx): add log for client-side fallback creation

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
Co-authored-by: Devon Rueckner <indirectlylit@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-05-07 21:08:01 +02:00
Xin Du (Clark)
789f0e6555
chore(dep): upgrade html-webpack-plugin to v4 (#7119) 2020-05-07 11:52:26 +01:00
renovate[bot]
c37c3d4da0
chore(deps): update all non-major dependencies (dev) (#7269) 2020-05-07 09:33:52 +01:00
Mathieu TUDISCO
6040257ca3
fix(webpack): allow hmr client path to be set (#7318) 2020-05-05 23:56:03 +02:00
Xin Du (Clark)
c2c7081dc2
fix(webpack): use non-eval sourcemap with csp and unsafe-eval script policy (#7305) 2020-05-03 21:10:09 +02:00
Xin Du (Clark)
2bd2c3853d
feat(modern): remove inlined safari fix in csp mode (#7306) 2020-05-03 20:15:24 +02:00
Xin Du (Clark)
ab3ff4de00
fix(babel): not override presets if babelrc is true (#7297) 2020-05-01 14:23:08 +02:00
renovate[bot]
5516a2182b
chore(deps): update all non-major dependencies (dev) (#7255)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-24 09:13:20 +01:00
renovate[bot]
67b8020c11
chore(deps): update dependency caniuse-lite to ^1.0.30001045 (d… (#7248) 2020-04-21 09:27:20 +01:00
renovate[bot]
3a6dbdd656
chore(deps): update all non-major dependencies (dev) (#7234) 2020-04-20 21:13:50 +01:00
renovate[bot]
cf205e7902
chore(deps): update all non-major dependencies (#7188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-17 11:26:43 +02:00
Xin Du (Clark)
c02ded2d86
refactor(config): move build.crossorigin to render.crossorigin (#7187) 2020-04-07 11:38:49 +02:00
renovate[bot]
20f086d0ce
chore(deps): update all non-major dependencies (dev) (#7179) 2020-04-06 23:14:25 +01:00
Xin Du (Clark)
16b9c157bf
feat(webpack): add mjs to babel-loader (#7178) 2020-04-05 15:41:21 +02:00
renovate[bot]
21b39fc701
chore(deps): update all non-major dependencies (dev) (#7157) 2020-04-05 11:58:52 +01:00
renovate[bot]
f18e241f70
chore(deps): update all non-major dependencies (dev) (#7125) 2020-03-26 16:30:01 +00:00
pooya parsa
8d355956d4 v2.12.1
[release]
2020-03-25 20:20:50 +01:00
renovate[bot]
a474c00aae
chore(deps): update dependency webpack to ^4.42.1 (#7121) 2020-03-24 10:42:43 +01:00
renovate[bot]
60f1aa93bd
chore(deps): update all non-major dependencies (dev) (#7100) 2020-03-23 11:24:29 +00:00
pooya parsa
205a089f83 v2.12.0 2020-03-17 17:43:35 +01:00
renovate[bot]
29587daf1f
chore(deps): update all non-major dependencies (#7073)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-12 18:59:48 +01:00
renovate[bot]
2afddf03c1
chore(deps): update all non-major dependencies (dev) (#7066) 2020-03-10 22:43:29 +00:00
renovate[bot]
1a34e224d4
chore(deps): update all non-major dependencies (#7052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 14:41:20 +01:00
renovate[bot]
2c4327b867
chore(deps): update all non-major dependencies [release] (#7039) 2020-03-02 19:15:30 +01:00
Pooya Parsa
903c3de5b6
feat: expose webpack config (#7029) 2020-03-02 19:15:00 +01:00
renovate[bot]
ee2cceb9b2
chore(deps): update all non-major dependencies (dev) (#7010) 2020-02-27 15:09:23 +00:00
renovate[bot]
c785f6e22e
chore(deps): update dependency caniuse-lite to ^1.0.30001030 (#6994)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 23:49:38 +01:00
Xin Du (Clark)
10ac6aed9a
feat(wepack): support @import using ~assets in css files (#6987) 2020-02-24 23:47:43 +01:00
renovate[bot]
bfc91f9682
chore(deps): update all non-major dependencies (#6978) 2020-02-18 17:01:11 +00:00
renovate[bot]
19fd3e4932
chore(deps): update all non-major dependencies (#6956) 2020-02-16 14:58:21 +01:00
Pooya Parsa
d83f697c15 chore: sort package.json 2020-02-06 13:32:56 +01:00
renovate[bot]
917782a642
chore(deps): update all non-major dependencies (#6941)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-04 19:36:53 +01:00
renovate[bot]
5a80599ffa
chore(deps): update all non-major dependencies (#6932) 2020-02-02 15:05:49 +00:00
renovate[bot]
0bd794d1c1
chore(deps): update all non-major dependencies (#6926)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-31 00:26:49 +01:00
renovate[bot]
08a3646d47 chore(deps): update all non-major dependencies (#6910) 2020-01-27 20:56:45 +00:00
renovate[bot]
73a4a8081a chore(deps): update dependency chalk to v3 (#6673)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2020-01-24 01:06:49 +00:00
renovate[bot]
0487ac3c25 chore(deps): update all non-major dependencies (#6898)
[release]
2020-01-21 14:06:21 +01:00
renovate[bot]
a715a038f4 chore(deps): update dependency extract-css-chunks-webpack-plugin to ^4.7.4 (#6886) 2020-01-19 09:36:13 +00:00
Pooya Parsa
00d95903c6
fix(webpack): provide global URL and URLSearchParams (#6864) 2020-01-19 09:37:06 +01:00
renovate[bot]
6891c31d81 chore(deps): update all non-major dependencies (#6879) 2020-01-17 15:26:25 +01:00
renovate[bot]
739b53a0f8 chore(deps): update all non-major dependencies (#6873) 2020-01-15 10:26:13 +00:00
renovate[bot]
decb11ac28 chore(deps): update all non-major dependencies (#6867) 2020-01-14 21:03:42 +00:00
renovate[bot]
1a48059438 chore(deps): update all non-major dependencies (#6859) 2020-01-13 11:48:10 +01:00
renovate[bot]
9aa8db4e97 chore(deps): update all non-major dependencies (#6849) 2020-01-11 19:31:14 +00:00
Renovate Bot
8a4f9a5036
chore(deps): update all non-major dependencies 2020-01-05 01:50:33 +00:00
renovate[bot]
aada6e50d9 chore(deps): update dependency consola to ^2.11.3 (#6839) 2020-01-01 12:42:55 +01:00
Renovate Bot
306e9602d6
chore(deps): update all non-major dependencies 2019-12-31 00:14:35 +00:00
Renovate Bot
14e6eb6b27
chore(deps): update all non-major dependencies 2019-12-29 22:19:43 +00:00
Pooya Parsa
7af9ec8c23 v2.11.0 2019-12-17 11:22:18 +01:00
renovate[bot]
51b3163c2a chore(deps): update dependency consola to ^2.11.1 (#6800) 2019-12-17 10:59:30 +01:00
renovate[bot]
929779555b chore(deps): update dependency semver to ^7.1.0 (#6797) 2019-12-17 10:38:03 +01:00
renovate[bot]
bb5f84c601 chore(deps): update all non-major dependencies (#6779) 2019-12-16 22:21:58 +01:00
renovate[bot]
0ef6c72a9c chore(deps): update dependency semver to v7 (#6789) 2019-12-16 21:33:47 +01:00
Renovate Bot
3938e58110
chore(deps): update all non-major dependencies 2019-12-09 18:49:52 +00:00
renovate[bot]
d427e4abc3 chore(deps): update all non-major dependencies (#6761) 2019-12-08 02:02:34 +00:00
renovate[bot]
4b8fc7de51 chore(deps): update all non-major dependencies (#6748)
* chore(deps): update all non-major dependencies

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-12-03 16:48:25 +00:00
renovate[bot]
81de57f11c chore(deps): update dependency extract-css-chunks-webpack-plugi… (#6738) 2019-11-28 09:23:35 +00:00
Xin Du (Clark)
e8aca9eb11 chore: update @nuxtjs/eslint-config to v2 and fix lint errors (#6732) 2019-11-26 23:42:39 +01:00
renovate[bot]
dd0b7a8b0e chore(deps): update all non-major dependencies (#6724) 2019-11-25 12:09:13 +00:00
Alexander Lichter
75bb0884cb feat: optionally strip non-client or non-server code (#6149) 2019-11-24 16:39:45 +01:00
renovate[bot]
2f76e8e875 chore(deps): update all non-major dependencies (#6709) 2019-11-23 09:06:10 +00:00
renovate[bot]
587d1e9765 chore(deps): update all non-major dependencies (#6708) 2019-11-19 09:24:15 +00:00
renovate[bot]
f54e9b211f chore(deps): update dependency caniuse-lite to ^1.0.30001010 (#6694) 2019-11-14 12:34:38 +00:00
renovate[bot]
5567d73741 chore(deps): update all non-major dependencies (#6689) 2019-11-13 11:03:39 +00:00
renovate[bot]
abd82805a7 chore(deps): update all non-major dependencies (#6677) 2019-11-12 10:42:05 +00:00
renovate[bot]
adce605379 chore(deps): update all non-major dependencies (#6665) 2019-11-09 22:18:39 +00:00
renovate[bot]
95303180a8 chore(deps): update all non-major dependencies (#6653)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-11-05 19:04:27 +00:00
renovate[bot]
8ee99bc288 chore(deps): update all non-major dependencies (#6647) 2019-11-03 15:36:54 +00:00
renovate[bot]
867b520801 chore(deps): update dependency caniuse-lite to ^1.0.30001006 (#6633) 2019-10-30 16:30:29 +00:00
renovate[bot]
d2d0e11455 chore(deps): update all non-major dependencies (#6603) 2019-10-28 14:57:09 +01:00
Pooya Parsa
f6aa45dda6 v2.10.2 [release] 2019-10-21 23:16:29 +02:00
renovate[bot]
3d51c0341b chore(deps): update dependency glob to ^7.1.5 (#6602) 2019-10-21 23:09:36 +02:00
renovate[bot]
01e447e3a5 chore(deps): update all non-major dependencies (#6599) 2019-10-21 10:08:23 +02:00
Xin Du (Clark)
de934844e2 fix(webpack): enable devtool for dev mode (#6495) 2019-10-19 10:23:57 +02:00
Xin Du (Clark)
8391753484 fix(webpack): normalize devtool for terser compatibility (#6566) 2019-10-19 10:21:42 +02:00
renovate[bot]
2b6589cca8 chore(deps): update all non-major dependencies (#6573) 2019-10-17 20:16:52 +01:00
renovate[bot]
3cde4c7887 chore(deps): update all non-major dependencies (#6568) 2019-10-15 21:40:44 +01:00
renovate[bot]
a42453bb0c chore(deps): update all non-major dependencies (#6550) 2019-10-14 22:05:14 +01:00
renovate[bot]
ed4a222794 chore(deps): update dependency postcss-import-resolver to v2 (#6552) 2019-10-13 20:32:46 +01:00
Pooya Parsa
624c4c058e v2.10.1 [release] 2019-10-11 10:08:40 +02:00
renovate[bot]
9bfda1c560 chore(deps): update all non-major dependencies (#6545) 2019-10-11 09:50:09 +02:00
Clark Du
a0ef4a3736 Merge remote-tracking branch 'origin/2.x' into dev 2019-10-09 19:07:10 +01:00
Xin Du (Clark)
010bb20645
chore: upgrade babel packages to 7.6.3 (#6540) 2019-10-09 18:43:36 +01:00
Xin Du (Clark)
0834903152 fix(vue-app, webpack): remove consola from client (#6504) 2019-10-08 11:06:29 +02:00
Xin Du (Clark)
ed564c3bd8 fix(webpack): chunkhash and contenthash not work with extractCSS (#6520) 2019-10-08 10:34:40 +02:00
renovate[bot]
2b1366b965 chore(deps): update all non-major dependencies (#6496) 2019-10-08 10:31:09 +02:00
Pooya Parsa
c17afa77a7 v2.10.0
[release]
2019-10-02 13:40:59 +02:00
renovate[bot]
950b48f118 chore(deps): update all non-major dependencies (#6472) 2019-09-29 11:28:19 +02:00
Xin Du (Clark)
d1df5c8124 fix(webpack): fix consola IE compatibility (#6298) 2019-09-29 11:02:22 +02:00
Pim
a2be217876 feat(webpack): use vue-meta browser build for client bundle (#6477) 2019-09-29 10:07:12 +02:00