nkzawa
e81de708b8
resolve dependency of pages/_error-debug from next root dir
2016-11-06 01:12:21 +09:00
Naoyuki Kanezawa
d1a0309af9
Add pathname and query to the argument of getInitialProps ( #194 )
...
* pass pathname and query to getInitialProps on both server and client
* README: describe about the contet object of getInitialProps
2016-11-04 01:05:03 -07:00
Naoyuki Kanezawa
e775721f34
Hot reload error page ( #190 )
...
* add detach-plugin
* detach-plugin: remove unused property
* watch-pages-plugin: replace _error.js when user defined one was added/removed
* dynamic-entry-plugin: delete cache
* fix HMR settings for _error.js
* render: pass error only on dev
* hot-reload: enable to hot-reload error page
* server: check if /_error has compilation errors
* webapck-dev-client: fix reloading /_error
2016-11-04 00:12:37 +09:00
nkzawa
a3548a6717
hot-reloader: remove fileSystem property
2016-11-01 01:15:50 +09:00
Naoyuki Kanezawa
f335c21c7c
hot-reload failed and succeeded chunks ( #167 )
2016-10-31 19:51:03 +09:00
nkzawa
ca161c375f
set babel plugins using absolute paths
2016-10-29 00:50:31 +09:00
nkzawa
990e39b13e
replace babel-plugin-module-alias with babel-plugin-module-resolver
2016-10-29 00:48:14 +09:00
Naoyuki Kanezawa
93d856706b
add cdn config ( #111 )
2016-10-28 23:38:24 +09:00
nodegin
e763dc731b
Fix #85 ( #97 )
2016-10-27 08:49:05 +09:00
nkzawa
42725614d9
fix WatchPagesPlugin to use webpack/hot/dev-server
2016-10-25 23:42:36 +09:00
nkzawa
a9c0ae3498
use webpack/hot/dev-server to full-reload on HMR errors
2016-10-25 22:51:44 +09:00
nkzawa
ba2e2aced9
webpack: fix loader exclude settings
2016-10-25 18:11:39 +09:00
nkzawa
7569ef6ca9
hot reload compilation errors
2016-10-25 00:20:50 +09:00
nkzawa
7ec46d512b
hot reload added/removed pages
2016-10-24 16:22:15 +09:00
nkzawa
301cd26235
dynamic-entry-plugin: improve
2016-10-24 11:38:55 +09:00
nkzawa
61dc5137f5
dynamic-entry-plugin: fix hasEntry
2016-10-24 10:55:25 +09:00
nkzawa
7dfc298859
Merge branch 'master' of https://github.com/zeit/next.js
2016-10-24 01:42:31 +09:00
nkzawa
07b95ae080
dynamically add/remove pages
2016-10-24 01:42:13 +09:00
Dan Zajdband
e164074f8e
Added glamor css ( #38 )
...
* Added glamor css
* Using pseudoclasses instead of calling functions
* Updated readme using style instead of default import for css
2016-10-21 09:39:20 -07:00
nkzawa
ec774a39da
refactor paths
2016-10-19 21:58:08 +09:00
nkzawa
2e2db37ccb
add error page for debug
2016-10-19 21:41:45 +09:00
nkzawa
400b75658b
write files even on error
2016-10-18 23:14:00 +09:00
nkzawa
f2d456b986
less logs to display on compile error
2016-10-18 18:33:49 +09:00
nkzawa
3c44137b9b
improve hot-reloading
2016-10-17 23:35:31 +09:00
nkzawa
8689af6480
server: tweak
2016-10-17 16:07:41 +09:00
nkzawa
ae5098599a
hot-reloader: refactoring
2016-10-17 16:05:46 +09:00
nkzawa
a40bba954b
remove .next before compiling
2016-10-17 12:55:33 +09:00
nkzawa
fb6f5d4382
change build directories structure
2016-10-17 12:55:09 +09:00
nkzawa
c697618e11
server/read: remove unused argument
2016-10-17 11:19:42 +09:00
nkzawa
1be8447a26
Merge branch 'master' into add/hot-reload
2016-10-17 11:10:16 +09:00
nkzawa
9b585e91d8
move loaders
2016-10-17 10:57:51 +09:00
nkzawa
577e2c27a7
use webpack for transpiling too
2016-10-17 10:54:36 +09:00
Dan Zajdband
1477734211
Added linting using standard ( #27 )
...
* Added linting using standard
* Linting on test
2016-10-16 17:00:17 -07:00
Dan Zajdband
7a331084dc
Reverting default props for errors. ( #12 )
2016-10-16 15:44:26 -07:00
nkzawa
82f23e2aca
fix generating _error.js
2016-10-16 13:01:17 +09:00
nkzawa
3bc8fdecb3
always use write-file-webpack-plugin
2016-10-16 11:49:09 +09:00
Dan Zajdband
e527098bb9
Implemented missing pieces for overriding 404 and 500 pages. ( #10 )
2016-10-15 17:36:54 -05:00
nkzawa
3032ade283
write assets to disk
2016-10-16 04:49:42 +09:00
nkzawa
e7ffb2c17d
emit modules as file
2016-10-16 01:17:27 +09:00
nkzawa
26e6193a97
hot-reload: initial
2016-10-15 00:05:08 +09:00
nkzawa
4f21383e0f
improve render
2016-10-10 13:24:30 +09:00
nkzawa
3e721b6878
apply css on server rendering
2016-10-09 18:50:41 +09:00
nkzawa
6718b05347
add _error.js, fix error handlings
2016-10-09 18:25:38 +09:00
nkzawa
429668b464
improve resolving files, cache files
2016-10-08 21:01:58 +09:00
nkzawa
22bf51bbe0
support getInitialProps
2016-10-08 19:16:22 +09:00
nkzawa
5a14a7249b
serve static dir
2016-10-08 14:21:10 +09:00
nkzawa
e2ab55ad23
fix client/router
2016-10-08 14:12:51 +09:00
nkzawa
89f96cc160
support next/head
2016-10-07 10:57:31 +09:00
nkzawa
9150521c55
set dev flag when rendering
2016-10-07 10:56:48 +09:00
Dan Zajdband
1833effeb7
Fixes next dev and adds the css requires
2016-10-06 18:40:15 -04:00
nkzawa
88b01e0a72
next-dev
2016-10-06 20:05:52 +09:00
nkzawa
cb11c7cbc6
add Link component
2016-10-06 16:07:41 +09:00
nkzawa
66b224ad26
server: render .json urls
2016-10-06 16:06:55 +09:00
Naoyuki Kanezawa
22cfcf5357
Merge pull request #1 from zeit/add/css
...
Added css using aphrodite
2016-10-06 12:30:07 +09:00
Dan Zajdband
7a39dac8c7
Added css using aphrodite
2016-10-05 22:42:55 -04:00
nkzawa
ebb7bc5fbc
render: fix bundle path
2016-10-06 10:21:15 +09:00
nkzawa
0cc1ed0516
make react external on webpack
2016-10-06 09:37:42 +09:00
nkzawa
9b06a22f31
initial source
2016-10-06 08:52:50 +09:00