Commit Graph

192 Commits

Author SHA1 Message Date
Daniel Roe
7955553070
fix(webpack): use javascript/auto for js rule (#9180) 2021-05-17 20:55:14 +02:00
Daniel Roe
69b5264ef3
fix: allow relative public paths (#8935) 2021-03-10 12:48:41 +01:00
Daniel Roe
7841bd0614
fix(webpack): update hmr option for extract-css-chunks-webpack-plugin (#8951)
closes #5390
2021-03-08 11:15:47 +00:00
Xin Du (Clark)
c610d95507
chore(deps): upgrade to @nuxtjs/eslint-config v6 (#8942) 2021-03-07 12:40:05 +00:00
pooya parsa
94fff623f1
fix: allow force overriding resolve paths (#8936)
[release]
2021-03-05 18:19:26 +01:00
pooya parsa
4d8077f8fe
feat(webpack): use watchpack2 (#8890) 2021-02-24 22:01:25 +01:00
Kenny
ba44b0f9ca
fix(webpack): transpile ufo (#8846) 2021-02-17 18:50:17 +01:00
Xin Du (Clark)
b0e6277615
fix(webpack): disable stats output from webpack-dev-middleware (#8651) 2021-01-17 12:05:20 +01: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
Xin Du (Clark)
e2e604ea3b
_fix(webpack): remove absolute wanrning messge in css-loader (#8629) 2021-01-12 21:25:37 +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
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
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
Pooya Parsa
a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +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
Pooya Parsa
79c6cb5ee3 v2.14.11 [hotfix] 2020-12-10 00:25:44 +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
fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
Xin Du (Clark)
ab039f051a
feat: update all dependencies that require node 10.x (#8346) 2020-12-01 12:40:50 +01:00
padinko
da38f96f03
fix(webpack): allow transpiling package in nested node_modules (#8205) 2020-11-30 23:26:46 +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
pooya parsa
a3d836401c
fix: revert production js chunk names (#8012) 2020-09-09 10:49:31 +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
Alexander Lichter
a969e87014
chore: add avif format as image (#7961) 2020-08-25 15:10:22 +01:00
pooya parsa
44471ec9df
fix(webpack): avoid using node_modules for chunk names (#7906)
[release]
2020-08-14 23:59:54 +02:00
Ahad Birang
c609b4b93d
fix(webpack): support string values for corejsVersion (#7849) 2020-08-04 17:12:59 +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
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
Ahad Birang
4f27cdded8
fix(webpack): font-family hex issue (#7763) 2020-07-26 17:48:58 +02:00
Pooya Parsa
5272a48ea9 refactor(server): externalsWhitelist ~> externalsAllowlist 2020-07-09 13:33:20 +02:00
Pooya Parsa
2e5bc24f44 chore(deps): update webpack-node-externals to 2.x 2020-07-09 12:55:18 +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
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
pooya parsa
1edac29eba
fix(webpack): use compact name for concatenated modules (#7639)
[release]
2020-06-30 19:47:42 +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
Denis Karabaza
a87218b745
fix(webpack): explicitly pass outputFileSystem to webpackDevMiddleware (#7613) 2020-06-26 14:55:45 +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
Daniel Roe
0610f0b343
feat(webpack): allow babel plugins to be defined by function (#7443) 2020-06-03 21:26:37 +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