Commit Graph

187 Commits

Author SHA1 Message Date
Clark Du
df939be712
fix: not render all styles when css extracted 2018-03-21 20:45:58 +08:00
Pooya Parsa
4b26c68c3b perf: chunk splitting improvements 2018-03-21 13:33:57 +03:30
Pooya Parsa
6a68e381b6 perf(spa): inline runtime chunk 2018-03-20 13:39:47 +03:30
Pooya Parsa
160e1d35e4 feat(spa): support shouldPrefetch and shouldPreload 2018-03-20 12:04:39 +03:30
Pooya Parsa
85d6c5758a open ~> ready
be more precicse about which ip address is nuxt listening by.
2018-03-19 21:45:20 +03:30
Pooya Parsa
0f180ad39f remove extra import 2018-03-19 20:00:03 +03:30
Pooya Parsa
984788362a fix(renderer): setAnsiColors is not a function 2018-03-19 19:56:56 +03:30
Pooya Parsa
6f718ec24b hide OPEN message on test 2018-03-18 12:23:06 +03:30
Pooya Parsa
6e54a3868d fix resolvePath with relative paths 2018-03-16 23:33:33 +03:30
Pooya Parsa
ed5bfacb4d eslint: fix import/order 2018-03-16 23:22:17 +03:30
Pooya Parsa
6234ae84c0 refactor(core): use strict mjs 2018-03-16 22:41:24 +03:30
Pooya Parsa
ec616f109b refactor options 2018-03-16 20:53:15 +03:30
Pooya Parsa
53e98a958c feat: rewrite core to esm 2018-03-16 19:42:06 +03:30
Clark Du
1080dfdbd6
deprecate: remove callback in module definition 2018-03-15 18:09:36 +08:00
Clark Du
78aac2df26
deprecate: remove nuxt.plugin 2018-03-15 17:49:14 +08:00
Clark Du
3957bf63bc
chore: fix typo 2018-03-15 15:55:52 +08:00
Clark Du
7bc3ac501b
refactor: add timeout in renderAndGetWindow 2018-03-14 16:18:40 +08:00
Pooya Parsa
4c6bb3767b fix tests 2018-03-12 01:10:16 +03:30
Pooya Parsa
b8f8f18384 optimize webpack 2018-03-12 00:58:56 +03:30
Clark Du
e514ce326c
coverage: ignore file name in error stack trace does not exist 2018-03-09 10:18:08 +08:00
oXg3n
b554a524a8 Fix HTML script tag in core/renderer to pass W3C validation (The type attribute is unnecessary for Javascript resources) 2018-03-08 15:38:29 +01:00
Sébastien Chopin
bb5a604c1b
Merge pull request #2950 from clarkdo/jsdomError
fix: throw jsdomError to avoid renderAndGetWindow hanging
2018-03-06 10:17:07 +01:00
Clark Du
0783be2790
refator: remove jsdomError listener before returning window 2018-03-06 16:29:21 +08:00
Clark Du
d9d747c9a8
refator: only throw jsdomerror in window initialization 2018-03-06 16:14:34 +08:00
Clark Du
d6f22c904d
fix: throw jsdomError to avoid renderAndGetWindow hanging 2018-03-06 14:03:09 +08:00
dojineko
dd9dfc6d55 to be simple 2018-03-05 09:58:10 +09:00
Hana Shiro
0a823252ae fix file permission in lib and test (#2883) 2018-02-27 00:18:36 +03:30
Ricardo Gobbo de Souza
f7928d0413 perf: if need parse path 2018-02-14 17:32:41 -02:00
Ricardo Gobbo de Souza
764fe7b8f1 fix: typo 2018-02-14 17:31:11 -02:00
Ricardo Gobbo de Souza
f0a6bdd51a feat: add layout on module 2018-02-07 09:58:48 -02:00
Ricardo Gobbo de Souza
6f073d7093 fix: conflict old pr 2018-02-05 12:54:36 -02:00
Sébastien Chopin
0b1e54dc57
Merge branch 'dev' into config-pages-dir 2018-02-05 09:16:27 +01:00
Sébastien Chopin
6acd9b6516
Merge pull request #2736 from dojineko/variable-csp
Multiple policy support for Content-Security-Policy
2018-02-05 09:14:11 +01:00
Sébastien Chopin
0a52cd2031
Merge pull request #2755 from clarkdo/static_prefix
feature: add static.prefix
2018-02-05 08:55:28 +01:00
Clark Du
215832769e refactor: add context as third param of render:route hook 2018-02-04 17:57:51 +03:30
Clark Du
28d28cb8c1 feature: pass request to render:route hook 2018-02-04 17:57:51 +03:30
Clark Du
a81af22d41
feature: add static.prefix 2018-02-04 00:54:42 +08:00
Ricardo Gobbo de Souza
536aab6380 Moved options to a new dir block: 2018-02-03 14:04:15 -02:00
Ricardo Gobbo de Souza
483cd9ea29 feat: custom static directory 2018-02-03 09:54:16 -02:00
dojineko
a403205abe tiny fix 2018-02-02 11:18:23 +09:00
dojineko
4fb644fdb3 add csp.policies 2018-02-01 21:20:28 +09:00
Clark Du
f15eb9efa7
test: spa meta preload files 2018-01-29 11:59:05 +08:00
Clark Du
4907e81574
test: resolvePath throws error 2018-01-29 11:41:56 +08:00
Clark Du
a2ac4cb331
test: user istanbul ignore next due to nyc issue 2018-01-29 11:01:37 +08:00
Diederik van den Burger
7bea248fe4 feat: added errorMiddleware hook. (#2703) 2018-01-27 18:42:30 +03:30
Sébastien Chopin
d0e011bdc4
Update meta.js 2018-01-23 11:42:25 +01:00
Clark Du
8b634c210d
feat: add noscript in head 2018-01-23 18:30:36 +08:00
Pooya Parsa
95c85bba62 minor improvements for #2608 2018-01-16 18:41:17 +03:30
Kouki Narumi
5ebf60f2a1 feat: external script support for CSP (#2608) 2018-01-16 18:40:10 +03:30
Pooya Parsa
1075492d8b fix(module): default module options to empty object 2018-01-13 09:45:00 +03:30