Pooya Parsa
81b92b6395
fix: improve watching experience for generated files ( #6257 )
2019-08-21 23:34:04 +04:30
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
Kevin Marrec
81b5ce22ce
feat: externalize typescript support ( #5858 )
2019-07-24 11:56:44 +04:30
Xin Du (Clark)
26a62596c0
fix: throw error when building failed in quiet mode ( #6075 )
2019-07-17 20:04:40 +01:00
Xin Du (Clark)
54cd68dbb0
fix: support babel corejs config for modern mode ( #6070 )
2019-07-16 14:57:05 +04:30
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)
a1124d2fff
fix(renderer): correctly load nomodule scripts in safari 10 ( #6033 )
2019-07-06 16:22:50 +01:00
Xin Du (Clark)
3195f34531
feat: upgrade css-loader to v3 ( #5929 )
2019-06-15 14:43:05 +04:30
Alexander Lichter
3d80ef472e
fix(webpack): extract css breaks hmr and source-maps ( #5906 )
2019-06-14 22:03:45 +04:30
Kevin Marrec
262ea5c31a
refactor: prepare for external typescript support ( #5854 )
2019-06-05 00:18:01 +04:30
Alexander Lichter
d08ce2f628
refactor: small readability improvements ( #5748 )
2019-05-16 14:38:44 +04:30
Xin Du (Clark)
1f5c6025bd
fix(webpack): resolve consola to latest ( #5729 )
2019-05-14 22:25:14 +04:30
Yama-Tomo
1e4708e90f
feat(webpack): suppress not found typescript warnings ( #5635 )
2019-05-10 14:48:44 +04:30
Xin Du (Clark)
adb381275b
feat(webpack): extendable babel.presets
and babel envName
( #5637 )
2019-05-06 18:30:07 +04:30
Pooya Parsa
8576b4fcfd
feat: configurable aliases ( #5655 )
2019-05-06 18:29:37 +04:30
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