Naoyuki Kanezawa
dbecc2a701
Use dynamic entry feature of webpack ( #750 )
...
* update webpack version and use dynamic entry feature of it
* fix typo
2017-01-12 07:39:04 -08:00
Naoyuki Kanezawa
b8373b847d
fix HMR for dynamic entries ( #652 )
2017-01-05 09:29:09 -08:00
Naoyuki Kanezawa
798fd3c1e8
Fix custom document compilation ( #534 )
...
* compile _document using webpack
* don't emit the bundle file of _document.js
* exclude _document.js from minChunks of CommonsChunkPlugin
* handle creation/removal of pages/_document.js
* improve path handlings
2016-12-27 15:28:19 -08:00
Naoyuki Kanezawa
ad0f0a4d79
watch-page-plugin: prevent null access ( #523 )
2016-12-26 10:13:28 -08:00
Naoyuki Kanezawa
1708222381
Programmatic API ( #310 )
...
* add 'next' api
* add render APIs
* add 'as' prop to Link
* check Accept header to serve json response
* check if response was finished on getInitialProps call
* move server/app to server/index
* load webpack-hot-middleware-client by absolute path
* server: options for testing
* add tests
* example: improve
* server: make dir optional
* fix client routing
* add parameterized routing example
* link: fix display url
* Add custom-server-express example (#352 )
* Add custom-server-express example
* Remove extraneous nexts in express routes defs
* Update next config in server.js
* Handle accept headers totally inside Next.js (#385 )
* Handle accept headers totally inside Next.js
Now user doesn't need to handle it anymore.
* Move json pages serving to /_next/pages base path.
* Join paths correctly.
* remove next/render
2016-12-16 12:33:08 -08:00
Naoyuki Kanezawa
8ddafaea5c
custom document support ( #405 )
2016-12-16 10:42:40 -08:00
Naoyuki Kanezawa
a14cc66720
Remove webpack-dev-server ( #276 )
...
* remove webpack-dev-server
* webpack: fix publicPath
2016-11-23 10:32:49 -08: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
42725614d9
fix WatchPagesPlugin to use webpack/hot/dev-server
2016-10-25 23:42:36 +09:00
nkzawa
07b95ae080
dynamically add/remove pages
2016-10-24 01:42:13 +09:00