1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
Commit graph

1374 commits

Author SHA1 Message Date
Arunoda Susiripala a879f47f9a Move all NPM modules into a single chunk in dev mode. (#1505)
This will isolate all the NPM modules into a single chunk.
That chunk won't touch by webpack unless, there's a new NPM module.
That gives us much better re-build performance.
2017-03-25 10:26:08 -07:00
Dominik Sumer 85bcfb864e fixed zeit.co link in readme (#1497) 2017-03-25 01:20:56 +05:30
greenkeeper[bot] d0e1c92cb0 chore(package): update husky to version 0.13.3 (#1491)
https://greenkeeper.io/
2017-03-24 14:14:53 +01:00
David Ascher 84d4197a6d Add link (#1492) 2017-03-24 14:14:29 +01:00
Arunoda Susiripala 32af8294a7 Load the main JS bundle in production with async (#1485)
* Use a webpack plugin to combine assets.

* Add comments and make this releseable.

* Fix some typos.

* Fix some typos.
2017-03-24 13:21:34 +05:30
greenkeeper[bot] 377a614f04 chore(package): update babel-eslint to version 7.2.0 (#1468)
https://greenkeeper.io/
2017-03-23 20:43:27 +01:00
Arunoda Susiripala 97c472c0c8 Handle pages with no default export and show an error. (#1484)
That error is meaningful and easy to find the issue.
2017-03-23 09:40:22 +05:30
Arunoda Susiripala bc2d5f3bdb Show errored file always in the error overlay. (#1470)
This was not happening when there's module not found errors.
Now we try to do this for all the errors if possible.
2017-03-23 04:43:23 +05:30
greenkeeper[bot] d6b8a530ed chore(package): update babel-plugin-istanbul to version 4.1.1 (#1481)
https://greenkeeper.io/
2017-03-22 17:24:14 +01:00
greenkeeper[bot] fb8fbc401d fix(package): update webpack to version 2.3.1 (#1480)
https://greenkeeper.io/
2017-03-22 16:58:46 +01:00
greenkeeper[bot] 7abd0472a3 fix(package): update webpack to version 2.3.0 (#1475)
https://greenkeeper.io/
2017-03-22 08:12:00 +05:30
Penn Su b682267b50 Fix URL (#1467) 2017-03-21 09:40:09 +05:30
Arunoda Susiripala b2fabf0fe0 Load script with the defer attribute (#1437)
Load script with the defer attribute
2017-03-19 18:46:50 +05:30
Arunoda Susiripala ffade8d5ac Fix client error modal not showing in dev (HMR) (#1448)
* Fix HMR not working issue.
Our hot-reload code on the server has custom webpack error dectection logic.
Is supports only multi-modules entries.
So, we need to all entries as multi-module entries
even if there's just a single entry.

* Add a test case for showing errors over HMR.
2017-03-18 16:01:55 -07:00
greenkeeper[bot] 3837b75b8b fix(package): update source-map-support to version 0.4.14 (#1457)
https://greenkeeper.io/
2017-03-18 11:46:59 +01:00
Vlad Frolov 1a61133dd4 fix(example): Added missing instructions for CSS "bundling" in with-react-md example (#1451) (#1456) 2017-03-18 11:45:48 +01:00
greenkeeper[bot] 930736fa3b chore(package): update standard to version 9.0.2 (#1453)
https://greenkeeper.io/
2017-03-18 08:32:37 +01:00
Guillermo Rauch 59433fc88e Release 2.0.0-beta.39 2017-03-16 13:09:37 -07:00
greenkeeper[bot] 1675ad1e75 fix(package): update loader-utils to version 1.1.0 (#1442)
https://greenkeeper.io/
2017-03-16 19:18:25 +01:00
greenkeeper[bot] 7278a7ec66 chore(package): update node-notifier to version 5.1.2 (#1441)
https://greenkeeper.io/
2017-03-16 13:49:15 +01:00
greenkeeper[bot] 4fa6276e7d fix(package): update babel-loader to version 6.4.1 (#1439)
https://greenkeeper.io/
2017-03-16 17:30:01 +05:30
greenkeeper[bot] 25dcce4aee fix(package): update source-map-support to version 0.4.13 (#1440)
https://greenkeeper.io/
2017-03-16 17:29:44 +05:30
Tim Neutkens 1a7e804361 Document babel caching (#1432) 2017-03-15 20:47:31 +01:00
Henrik 8bd46c8380 Remove .DS_Store file from helmet example (#1435) 2017-03-15 20:36:47 +01:00
Stephen Mathieson 8cf965a753 examples: add svg-components (#982) 2017-03-15 15:26:08 +01:00
BDav24 db7c286740 [POC] Pretty url routing (#1001)
* [example] with pretty url routing

* use single quotes even in React components

* improve Link import
2017-03-15 15:24:54 +01:00
Steve Fan a57fa7ebb1 An example with react-helmet (#1264)
* upload example

* fix

* fix

* fix

* fix .babelrc

* fix standard style

* fix indent

* rename helmetHead to helmet

* added gitignore

* package.json

* removed yarn.lock

* Added more examples of using react-helmet

* removed gitignore
2017-03-15 15:23:42 +01:00
Guilherme Diego 123a635f00 Example to create next application with scoped/external css. (#1340)
* First structure for external css example

* Remove: Builded files

* Fix: Identation to 2 spaces

* Fix example

* Fix lint

* Fix: Review points
2017-03-15 15:21:48 +01:00
Will Djingga 13ccf78498 Fix typo in README (#1427)
`routing`not `routig`
2017-03-15 13:24:34 +01:00
Arunoda Susiripala fbc6c47e86 Fix deployment wiki link. 2017-03-15 08:10:10 +05:30
Tim Neutkens 9acc7cfc68 Add reference to deployment wiki page (#1423) 2017-03-15 08:08:00 +05:30
Tim Neutkens 228bbbef74 Use jsonPageRes instead of xhr (#1424) 2017-03-15 08:07:29 +05:30
Dan Zajdband d92ab55d22 Add/link replace (#1419)
* Using developit/unfetch as the Fetch API polyfill

* Added the replace prop into the Link component

* Added integration test for replace prop on Link component
2017-03-14 18:06:34 -05:00
Adam Soffer d5bd8c7d03 Update with-apollo example (#1394)
* Add minimal apollo example

* Update apollo example README

* Update apollo example demo link in README

* Fix button styles

* Fix show more button

* Alias demo url

* Include the data field on the Apollo store when hydrating

* Revert

* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.

* Add example to faq section in README

* Sort by newest; Add active state to buttons

* Make optimization suggestions

* Use process.browser; inline props

* Pass wrapped component's initial props into component heirarchy if they exist

* Remove unnecessary sorting of array

* Update Apollo example

* Remove trailing comma

* Update reduxRootKey

* Remove unnecessary babelrc

* Update with-apollo example

- Remove use of deprecated 'reduxRootKey' option
- Add loading indicator inside pagination button
2017-03-14 23:41:55 +01:00
Tim Neutkens 68a7b59b19 Upgrade styled-components. Fixes #1416 (#1422) 2017-03-14 13:18:10 -07:00
Guillermo Rauch 458f33f6f8 Release 2.0.0-beta.38 2017-03-14 11:58:28 -07:00
Arunoda Susiripala 8bf376737f Remove patch-react.js (#1420)
This is a pretty complex code base and it cause
issues for some React components.
And React/fiber is coming with a proper solution.
2017-03-14 11:57:41 -07:00
greenkeeper[bot] 7d0374bb55 chore(package): update cross-env to version 3.2.4 (#1417)
https://greenkeeper.io/
2017-03-14 22:31:55 +05:30
greenkeeper[bot] 9fd6982c95 fix(package): update loader-utils to version 1.0.4 (#1411)
https://greenkeeper.io/
2017-03-14 14:38:54 +01:00
greenkeeper[bot] 098ec02665 chore(package): update fly-esnext to version 2.0.1 (#1408)
https://greenkeeper.io/
2017-03-14 08:02:04 +01:00
Luke Edwards 4ad5e2e0dc Examples: Update Inferno & Preact (#1407)
* clean & bump inferno & preact pkgs

* reenable UglifyJS for preact
2017-03-13 22:05:04 +01:00
greenkeeper[bot] 624cab9909 fix(package): update source-map-support to version 0.4.12 (#1405)
https://greenkeeper.io/
2017-03-13 22:00:51 +01:00
Guillermo Rauch 45bd239827 Release 2.0.0-beta.37 2017-03-13 10:49:15 -07:00
greenkeeper[bot] e653683ff7 fix(package): update babel-core to version 6.24.0 (#1403)
https://greenkeeper.io/
2017-03-13 08:10:17 +01:00
greenkeeper[bot] 0e9ca29c78 fix(package): update babel-generator to version 6.24.0 (#1404)
https://greenkeeper.io/
2017-03-13 08:07:57 +01:00
greenkeeper[bot] 3136bd55fb fix(package): update babel-preset-latest to version 6.24.0 (#1402)
https://greenkeeper.io/
2017-03-13 08:07:50 +01:00
greenkeeper[bot] 6a7ee7b193 chore(package): update babel-preset-es2015 to version 6.24.0 (#1401)
https://greenkeeper.io/
2017-03-13 06:56:54 +01:00
greenkeeper[bot] 595eb9e512 chore(package): update husky to version 0.13.3-0 (#1395)
https://greenkeeper.io/
2017-03-13 06:20:05 +01:00
greenkeeper[bot] f2969ed824 fix(package): update babel-plugin-transform-es2015-modules-commonjs to version 6.24.0 (#1400)
https://greenkeeper.io/
2017-03-13 06:16:02 +01:00
Arunoda Susiripala e985e0dd48 Use mitt instead of EventEmitter for the client HMR (#1399)
error handling.
2017-03-13 10:16:32 +05:30