Commit Graph

8 Commits

Author SHA1 Message Date
Jonas Galvez e87711c5e7 feat: support `devModules` option (#5102) 2019-03-03 11:19:46 +03:30
Pooya Parsa 2015140d12 feat(vue-app): universal fetch (#5028)
* pkg(nuxt-start): add node-fetch, unfetch

* pkg(vue-app): add node-fetch, unfetch

* add yarn.lock

* feat(config): _app.fetch options

* feat(builder): add fetch to templateVars

* feat(vue-app): polyfill global with fetch

* feat(fixtures/basic): /api/test

* add fetch example to fixtures

* remove unfetch from nuxt-start

* update template snapshot

* revert extra new line in server.js

* single line if
2019-02-14 16:56:58 +01:00
Clark Du aad46ed674 fix: disable parallel build when extractCSS is enabled 2019-02-13 10:32:13 +00:00
Xin Du (Clark) b23f5c9b4b feat(server): timing option for `Server-Timing` header (#4800) 2019-01-19 21:44:54 +03:30
Xin Du (Clark) a616c09b22 feat(test): unit tests for core/config module (#4760)
* feat(test): enable tests in packages

* fix: wait error hook

* test: entry and hookable in core

* fix(test): options snapshot in windows

* refactor(test): simpilify jest.fn

* test: module in core

* test: complete module test

* test: add test for resolver in core

* test: update config snapshot

* test: nuxt in core module
2019-01-19 13:00:51 +01:00
Clark Du e594f09914
test: mock require.main 2019-01-14 20:31:39 +00:00
Clark Du d02eb2f958 fix(test): remove local paths 2019-01-14 19:47:00 +00:00
Clark Du bd1ae0b9df test: add unit tests for @nuxt/config 2019-01-14 17:40:15 +00:00