Pooya Parsa
ffadb3177f
fix(webpack): set log level to warn for HardSourcePlugin ( #5653 )
2019-05-06 15:17:37 +04:30
Xin Du (Clark)
31a15559e5
refactor: move modern detection from server to utils ( #5584 )
2019-04-23 13:46:56 +04:30
Xin Du (Clark)
aea9db6f56
fix(webpack): fix production font preloading ( #5436 )
2019-04-20 13:05:14 +01:00
Xin Du (Clark)
f5bbc585ee
refactor(vue-renderer): split renderer into ssr, spa and modern ( #5559 )
2019-04-20 13:02:51 +01:00
Damian Stasik
164f73a716
chore(webpack): suggest @nuxtjs/style-resources
( #5499 )
2019-04-11 14:34:52 +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
Alexander Lichter
1bd4fb14ab
chore(postcss): deprecate config support ( #5419 )
2019-03-30 23:42:12 +04:30
Pooya Parsa
832bd12091
refactor(typescript): use an object for _typescript ( #5418 )
2019-03-30 00:39:20 +04:30
Xin Du (Clark)
04ddcac4f9
fix: memory leak in dev mode ( #5399 )
2019-03-27 14:34:16 +00:00
Pooya Parsa
caf5198430
fix(builder): await for renderer to load resources ( #5341 )
2019-03-23 11:32:55 +04:30
Pooya Parsa
20836d9341
hotfix: revert to corejs@2 ( #5317 )
2019-03-21 19:29:51 +00:00
Pooya Parsa
65c1f86ea3
fix(webpack): always resolve core-js to v3 ( #5307 )
2019-03-21 15:18:37 +03:30
Xin Du (Clark)
0eb5ed9763
fix(webpack): loaders in extend config is broken ( #5292 )
2019-03-20 15:38:24 +03:30
Sébastien Chopin
ef41e205e6
feat: loading screen ( #5251 )
...
[release]
2019-03-20 12:47:53 +03:30
pooya parsa
37cd24c261
chore: cherry-pick goodies from #4235
...
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-03-17 00:52:01 +03:30
Kevin Marrec
920f444b6e
refactor(ts): better DX for typescript support ( #5079 )
...
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Julien Dargelos
821676511b
fix(webpack): clone config.entry
( fixes #4849 ) ( #5236 )
2019-03-14 13:35:19 +03:30
Alexander Lichter
adf423a57f
fix(postcss): default to preset-env and cssnano last ( #5215 )
2019-03-13 13:40:05 +03:30
Pooya Parsa
13cb0f73d9
refactor: remove builder coupling from server ( #5157 )
2019-03-08 20:43:23 +00:00
Pooya Parsa
d07aefa5db
feat(vue-renderer): use async fs ( #5186 )
2019-03-08 12:20:03 +00:00
renovate[bot]
840ccb4bdf
chore(deps): update dependency extract-css-chunks-webpack-plugin to v4 ( #5160 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-03-06 11:16:07 +00:00
Xin Du (Clark)
9860eb6a7c
refactor: unify context in webpack module ( #5054 )
2019-02-18 17:00:51 +00:00
Andrey Shertsinger
bcd672f931
fix: generate failure ( #5007 )
2019-02-13 09:18:41 +00:00
Alexander Lichter
3997d5049d
perf(webpack): use futureEmitAssets
( #5003 )
2019-02-11 14:12:37 +03:30
Alexander Lichter
69dfd848d7
refactor: some small stuff ( #4979 )
...
* refactor: flatten ifs
* refactor: unnecessary curly brackets
* refactor: unnecessary else
* refactor: promise.all instead of for-await
* refactor: apply changes suggested by @clarkdo
* chore: fix typo
* refactor: early return
* refactor: add removal TODOs
* refactor: more descriptive variable name
* refactor: prefer template string
* refactor: one-line
* refactor: early returns
* refactor: early return
* refactor: parallel promises
* refactor: early return and no else
* refactor: spread operator
* refactor: spread operator and early return
* fix: remove error and throw string instead
* fix: always return true
* refactor: clear multiline ternary
* refactor: err stack assignment
* refactor: early return and async/await
* refactor: one line
* refactor: early return
* refactor: early return
* refactor: promise.all
* refactor: args spread
2019-02-08 17:25:11 +01:00
Clark Du
eac6d022f5
refactor: remove unnecessary onEmit in old webpack
2019-02-07 17:26:43 +00:00
Alexander Lichter
31cb18737b
refactor: use spread syntax for plugin push ( #4976 )
2019-02-07 18:30:04 +03:30
pooya parsa
fb87a559c2
fix: fix non standard esm modifications
2019-02-06 22:28:43 +03:30
Alexander Lichter
422155ea14
fix: warn when using array postcss configuration ( #4936 )
2019-02-04 01:51:51 +03:30
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules ( #4913 )
2019-02-01 16:04:06 +00:00
Xin Du (Clark)
0223e56dd4
fix: remove cache-loader for external resources ( #4915 )
2019-02-01 16:33:32 +03:30
Xin Du (Clark)
de6ca3a4f9
hotfix: extractCSS error in dev mode ( #4892 )
2019-01-30 01:37:13 +03:30
Xin Du (Clark)
43ce8e97bc
fix: match subdir under node_module in transpile ( #4850 )
2019-01-24 16:42:02 +01:00
andoshin11
762305b468
feat(webpack): options.build.loaders.vueStyle ( #4837 )
2019-01-23 22:18:02 +03:30
Xingkai Wang
dcdbaba710
feat(webpack): support build.hotMiddleware.client
( #4796 )
2019-01-21 15:25:49 +03:30
Kevin Marrec
6a68f4e981
fix(webpack): prevent terser mangling html/vue reserved tags ( #4821 )
2019-01-21 00:49:53 +03:30
Kevin Marrec
b202361a1b
fix(ts): prevent checking types twice in modern mode & use consola as logger ( #4803 )
2019-01-19 15:40:21 +03:30
Alexander Lichter
40fbe5ba47
refactor: cleanups and code style improvements ( #4788 )
2019-01-18 00:48:29 +03:30
Kevin Marrec
dfaffc0183
feat(nuxt-ts): typescript support improvements ( #4750 )
2019-01-12 23:51:21 +03:30
Alexander Lichter
4b9e8e75d8
fix: require postcss module via resolver ( #4737 )
2019-01-11 15:09:22 +00:00
William Chong
68d8d54e83
fix: use case insensitive regex for webpack loader rules ( #4728 )
2019-01-09 23:18:34 +03:30
Clark Du
ecf76d91f1
fix: SafariFix is not injected in client modern mode
2019-01-08 13:21:13 +00:00
Clark Du
89f88669c1
fix: server build failed in dev mode
2019-01-04 16:33:50 +00:00
Clark Du
30fef5d7a0
fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true
2019-01-04 16:09:10 +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
867e8e1e84
fix: plugins for modern mode ( #4659 )
2018-12-30 14:28:42 +00:00
Xin Du (Clark)
df9b32a1c4
fix: hmr in modern mode ( #4623 )
2018-12-24 19:56:39 +03:30
Sébastien Chopin
498c4f11d3
feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill ( #4600 )
...
[release]
2018-12-23 12:10:36 +03:30
Kevin Marrec
f1377a7f8d
feat(ts): provide type checking through fork-ts-checker-webpack-plugin
( #4611 )
2018-12-23 11:13:51 +03:30
Kevin Marrec
4d5274215a
feat(ts): add TSX support ( #4613 )
2018-12-23 02:12:20 +03:30
Xin Du (Clark)
324135df51
refactor: @nuxt/utils ( #4609 )
2018-12-23 00:35:13 +03:30
Clark Du
90f42a618e
refactor: remove unused properties in base config
2018-12-21 15:18:14 +00:00
Clark Du
15ad7d03c9
refactor: remove unused properties in style-loader
2018-12-21 15:15:48 +00:00
Xin Du (Clark)
e71c4559ff
feat: mode for plugins ( #4592 )
2018-12-20 12:58:10 +03:30
Xin Du (Clark)
d723e49b2b
feat: attach ts-loader options on build.loaders.ts ( #4572 )
2018-12-17 15:45:01 +00:00
Kevin Marrec
75e3df6be5
fix(ts): switch from babel preset to ts-loader ( #4563 )
2018-12-17 15:21:53 +00:00
Kevin Marrec
7145c1ab5d
feat(builder): optional typescript support ( #4557 )
2018-12-15 10:25:08 +03:30
Xin Du (Clark)
d0c8fcbaa5
fix: duplicate style in extractCSS ( #4546 )
...
[skip ci]
2018-12-13 22:07:47 +03:30
Xin Du (Clark)
657a6cc7c9
chore: tiny refactoring ( #4534 )
2018-12-12 10:47:54 +00:00
Clark Du
28300ee0f9
refactor: remove extendedConfig.devtool check
2018-12-12 10:10:24 +00:00
Clark Du
8d728da3c7
refactor: remove unnecessary env
2018-12-12 09:38:06 +00:00
Alexander Lichter
f1ff6341ea
feat: add process.modern ( #4532 )
2018-12-12 13:03:19 +03:30
Alexander Lichter
c60b1945e8
chore: cleanup ( #4529 )
2018-12-12 10:01:49 +03:30
Alexander Lichter
8e0b5081f2
fix: allow pcss ending for webpack loader ( #4530 )
...
[skip ci]
2018-12-12 09:52:43 +03:30
Alexander Lichter
88668f0fc4
chore: add plugin suffix for ExtractCssChunksPlugin ( #4528 )
2018-12-11 20:56:28 +00:00
Alexander Lichter
c6d820aad8
feat(webpack): add experimental HardSourceWebpackPlugin support ( #4527 )
2018-12-12 00:19:16 +03:30
Dmitry Molotkov
33edef2d40
fix(webpack): allow changing devtool with extend ( #4515 )
2018-12-11 01:04:41 +03:30
Jonas Galvez
655f11cefd
chore: update code to meet new curly-all rule ( #4505 )
...
[skip ci]
2018-12-10 01:30:48 +03:30
Pooya Parsa
fe0516978a
fix: improvements for build and dev stability ( #4470 )
2018-12-09 14:12:22 +03:30
Xin Du (Clark)
669ffa51ed
refactor: migrate to extract-css-chunks-webpack-plugin ( #4495 )
...
fixes #4131 .
2018-12-09 13:58:08 +03:30
Jonas Galvez
af9b30cab7
feat: upgrade css loader to v2 ( #4503 )
...
* use new exportOnlyLocals option
* upgrade css-loader in package.json
2018-12-09 13:45:48 +03:30
Alexander Lichter
f1b2ca3d60
feat: add an option to disable FriendlyErrorsWebpackPlugin ( #4498 )
2018-12-09 13:38:59 +03:30
Clark Du
e6808c57ef
fest: add build.corssorgin ( #4472 )
2018-12-05 19:51:58 +03:30
Pooya Parsa
6589670864
fix(server): delete all non-js assets
2018-12-01 14:29:26 +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
Pooya Parsa
06ddfbb77b
fix(webpack): deepClone before calling extendConfig ( #4464 )
2018-11-30 20:22:53 +00:00
Alexander Lichter
71136fc9b6
feat: allow lang="postcss"
in Vue SFCs ( #4417 )
...
* fix: allow postcss lang as tag
* refactor: own postcss rule
2018-11-30 16:23:44 +01:00
Clark Du
3abc9e815e
fix: transpile server not work ( #4338 )
2018-11-15 22:02:55 +00:00
Clark Du
3702dfe5dc
refactor: add node_env in webpack DefinePlugin ( #4330 )
2018-11-14 12:00:12 +00:00
Clark Du
853ca4e7d4
refactor: styleLoader and postcss ( #4318 )
2018-11-12 21:18:50 +00:00
Alexander Lichter
692493f5aa
chore: warn when styleResources is used without the community module ( #4302 )
...
[skip ci]
2018-11-10 03:29:40 +03:30
Clark Du
2c4bd57101
refactor: perf loader ( #4299 )
2018-11-08 22:26:52 +00:00
Pooya Parsa
57f66726d0
fix: fix typo
2018-11-09 01:43:39 +03:30
Pooya Parsa
663c00ddd4
fix(webpack): use env.minimalCLI
2018-11-09 01:24:24 +03:30
Pooya Parsa
c39c7cd51e
update webpack/base for webpackbar 3.0.2
2018-11-08 14:46:07 +03:30
Pooya Parsa
7c4e77ffb9
feat: dx improvements ( #4259 )
2018-11-08 12:45:56 +03:30
Clark Du
2a36dbad22
feat: client mode modern and support dev/generate ( #4264 )
2018-11-07 23:37:06 +00:00
Clark Du
78e3563687
feat: terser compress es6 forms in modern build ( #4241 )
2018-11-01 04:59:17 +01:00
Clark Du
bed0714fad
feat: modern build ( #4231 )
...
* feat: modern build
* refactor: use single module import for lodash
* refactor: add credit comment for modern plugin
* feat: ssr modern build
* fix: not null check for request
* fix: not null check for request.headers
* feat: add modern argument on build command
* refactor: simpilfy filenames for modern
* refactor: use packages/webpack src instead of dist in test
* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Pooya Parsa
39b558f59c
refactor core into sub-packages ( #4202 )
2018-10-31 00:12:53 +03:30
Clark Du
ae9de93a45
feat: move @nuxtjs/babel-preset-app into nuxt mono-repo ( #4205 )
2018-10-26 21:28:21 +03:30
Pooya Parsa
46103e72ea
chore: packaging and development improvements ( #4193 )
2018-10-25 14:52:31 +03:30
Alexander Lichter
48393b33c7
refactor: small improvements ( #4194 )
2018-10-25 14:27:52 +03:30
Dmitry Molotkov
a3ba6e96ca
fix: check styleResources for existence ( #4155 )
2018-10-25 14:25:05 +03:30
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