Commit Graph

67 Commits

Author SHA1 Message Date
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