Commit Graph

654 Commits

Author SHA1 Message Date
renovate[bot]
ae87226bcc
chore(deps): update dependency caniuse-lite to ^1.0.30001180 (#8703)
[release]
2021-01-27 11:27:25 +01:00
renovate[bot]
067f8ebedf
chore(deps): update all non-major dependencies (#8668) 2021-01-23 21:48:14 +00:00
Jonas Thelemann
61ed873125
chore(deps): upgrade webpack-bundle-analyzer to ^4.4.0 (#8678) 2021-01-22 12:03:32 +01:00
renovate[bot]
eae3acb732
chore(deps): update all non-major dependencies (#8650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-17 12:07:51 +01:00
Xin Du (Clark)
b0e6277615
fix(webpack): disable stats output from webpack-dev-middleware (#8651) 2021-01-17 12:05:20 +01:00
renovate[bot]
3b644b0621
chore(deps): update all non-major dependencies (#8627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 10:42:03 +00:00
Xin Du (Clark)
14f741d492
chore: update webpack-dev-middleware to ^4.0.4 [release] (#8640)
* chore: update webpack-dev-middleware to ^4.0.4

* fix(build): disable webpack-dev-middle stats printing

* use stats options

* use stats none

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-14 09:57:48 +01:00
Pooya Parsa
1d13284660 chore(deps): pin webpack-dev-middleware to 4.0.2 [release]
to be fixed by https://github.com/webpack/webpack-dev-middleware/pull/813
2021-01-13 11:52:14 +01:00
Xin Du (Clark)
e2e604ea3b
_fix(webpack): remove absolute wanrning messge in css-loader (#8629) 2021-01-12 21:25:37 +01:00
renovate[bot]
db5cea1d17
chore(deps): update all non-major dependencies (#8595) 2021-01-11 16:54:27 +00:00
renovate[bot]
c59868e1a6
chore(deps): update all non-major dependencies (#8575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 13:32:46 +01:00
Xin Du (Clark)
fd0352cc8f
feat(postcss): support postcss v8 with explict postcss installation (#8546)
* feat(postcss): support postcss v8 with explict postcss installation

* fix options name

* use postcss.vendor to check postcss 8
2020-12-29 13:16:01 +01:00
renovate[bot]
80605294b2
chore(deps): update dependency caniuse-lite to ^1.0.30001171 (#8565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-29 12:17:10 +01:00
Xin Du (Clark)
b2e38f5c92
fix(webpack): can't resolve absolute url in css (#8555) 2020-12-27 23:53:05 +00:00
Pooya Parsa
b4663d2bfb _fix(webpack): resolve from rootDir with higher periority
[release]
2020-12-23 11:47:56 +01:00
Pooya Parsa
d3ef163004 _fix(pnp): resolve module dependencies 2020-12-23 11:43:55 +01:00
Pooya Parsa
5bd4fe08c6 chore: fix pnp issues [release] 2020-12-23 01:37:44 +01:00
Pooya Parsa
4295c6ca26 _fix(webpack): resolve postcss plugins including package 2020-12-23 00:10:20 +01:00
Pooya Parsa
49ceba698c chore: fix issues with pnp [release] 2020-12-22 21:05:25 +01:00
renovate[bot]
21954ba1a3
chore(deps): update all non-major dependencies (#8537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-22 18:23:04 +01:00
pooya parsa
dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00
renovate[bot]
b64ee2c8ef
chore(deps): update all non-major dependencies (#8518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-20 12:21:46 +01:00
renovate[bot]
33143038b1
chore(deps): update dependency vue-loader to ^15.9.6 (#8506)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-17 12:50:48 +01:00
renovate[bot]
fedba22f73
chore(deps): update all non-major dependencies (#8463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:42:38 +01:00
Pooya Parsa
a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +01:00
Pooya Parsa
bde4c5f6b0 v2.14.12 2020-12-16 14:13:06 +01:00
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