Commit Graph

24 Commits

Author SHA1 Message Date
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
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
Pooya Parsa
00d95903c6
fix(webpack): provide global URL and URLSearchParams (#6864) 2020-01-19 09:37:06 +01:00
Alexander Lichter
75bb0884cb feat: optionally strip non-client or non-server code (#6149) 2019-11-24 16:39:45 +01:00
Xin Du (Clark)
7c98571ac9
refactor(webpack): simplify transpile normalization (#6179) 2019-08-04 15:23:33 +01:00
Sébastien Chopin
e8f1532124 feat(webpack): allow function entries for build.transpile (#6120) 2019-08-03 21:09:38 +01:00
pooya parsa
e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Xin Du (Clark)
6ce99d2cc8 fix: revert node-externals disabling in dev mode (#5452) 2019-04-03 14:14:36 +04:30
Xin Du (Clark)
e155ea43d7 fix(webpack): prefer main over module field for server config (#5446)
[release]
2019-04-02 17:30:32 +04:30
Xin Du (Clark)
1ae433355e fix: not override externals set by build.extend (#5444) 2019-04-02 17:27:45 +04:30
Damian Stasik
abf7db1fd3 refactor(webpack): add ability to get webpack config class (#5378) 2019-03-31 22:15:46 +01:00
Xin Du (Clark)
a5a165749a fix: disable node-externals for dev mode (#5414) 2019-04-01 01:05:06 +04:30
Xin Du (Clark)
04ddcac4f9
fix: memory leak in dev mode (#5399) 2019-03-27 14:34:16 +00:00
Julien Dargelos
821676511b fix(webpack): clone config.entry (fixes #4849) (#5236) 2019-03-14 13:35:19 +03:30
Xin Du (Clark)
9860eb6a7c
refactor: unify context in webpack module (#5054) 2019-02-18 17:00:51 +00:00
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules (#4913) 2019-02-01 16:04:06 +00:00
Clark Du
89f88669c1 fix: server build failed in dev mode 2019-01-04 16:33:50 +00:00
Pooya Parsa
bdb6791e40
feat(webpack,cli): standalone build mode (#4661)
* feat(webpack,cli): standalone build mode

* revert typo
2019-01-03 23:57:50 +03:30
Alexander Lichter
f1ff6341ea feat: add process.modern (#4532) 2018-12-12 13:03:19 +03:30
Pooya Parsa
0f104aa588
feat: improve SSR bundle (#4439)
- Better insights and inspection for server bundle
- Remove all vue related dependencies from vue-renderer package as much as possible to reduce install size of nuxt-start
- Support for single file distributions (serverless)
- Remove server-bundle.json and use the standard .js files for dist/server
- Mitigate CALL_AND_RETRY_LAST Allocation failed errors. Most of the cases happen on JSON.parse() the part when loading bundle. (#4225, #3465, #1728, #1601, #1481)
- Reduce server dist size by removing escape characters caused by JSON serialize
- Faster dev reloads and production start by removing extra JSON.serialize/JSON.parse time
- Less memory usage
- General performance improvements and refactors
2018-12-01 13:43:28 +03:30
Clark Du
3abc9e815e
fix: transpile server not work (#4338) 2018-11-15 22:02:55 +00:00
Clark Du
9df5f49e07 feat: split builder into more refined modules (#4171)
New packages:
- `@nuxt/webpack`
- `@nuxt/generator`
2018-10-24 20:25:18 +03:30