Connor Davis
0e4fd2566f
Block certain env keys that are used internally
2019-02-11 22:09:34 -06:00
Connor Davis
68db0992b6
v8.0.0-canary.24
2019-02-11 19:29:58 -06:00
Connor Davis
bd249180c6
Fix Runtime Config in next export
( #6258 )
2019-02-11 19:28:47 -06:00
Joe Haddad
33b9ebc783
Add module
as server fallback main field ( #6256 )
...
* Add `module` as server fallback main field
* Test that a module only package can be imported
2019-02-12 01:39:57 +01:00
Juan Olvera
23c9c0d624
Change anynymous functions to named functions on examples in the README.md file ( #6255 )
...
* convert export default anonymous functions into named functions
* change examples to function declaration and split export in classes
* change NextHead name to Head and rename component
2019-02-12 00:04:05 +01:00
Jason Miller
734513b9be
Apply babel to .mjs files ( #6253 )
2019-02-11 18:59:24 +01:00
Tim Neutkens
8ddf9c7f27
v8.0.0-canary.23
2019-02-11 08:28:49 +01:00
Tim Neutkens
100b733960
v8.0.0-canary.22
2019-02-11 08:17:22 +01:00
Giuseppe
ac0976affe
Update styled-jsx ( #6236 )
...
Changelog https://github.com/zeit/styled-jsx/releases/tag/v3.2.1
2019-02-10 22:19:38 +01:00
Akram
63c25a9c60
update preset.ts to use isProduction variable ( #6234 )
2019-02-10 18:45:51 +01:00
Tim Neutkens
bfd2d08ff2
v8.0.0-canary.21
2019-02-10 05:10:24 +01:00
Tim Neutkens
2ecb2489ce
v8.0.0-canary.20
2019-02-10 04:56:14 +01:00
Tim Neutkens
45f5663558
Bring in terser-webpack-plugin ( #6231 )
...
* Bring in terser-webpack-plugin
* Ignore terser from linting
2019-02-10 04:55:09 +01:00
Kris Luminar
693ab43663
Fix typo ( #6230 )
2019-02-10 04:45:33 +01:00
Tim Neutkens
c0701e948f
v8.0.0-canary.19
2019-02-08 16:04:44 +01:00
Connor Davis
6f162b94e1
Add Error when using publicRuntimeConfig with target serverless and add buildVars ( #6212 )
...
Introduce env to next.config.js for build-time configuration
2019-02-08 14:38:18 +01:00
Connor Davis
28b61a8c94
Remove Unneeded _error import ( #6224 )
2019-02-08 11:57:29 +01:00
Tim Neutkens
815f2e9138
Only compile /_error when /_error is needed ( #6192 )
...
Followup to removing the /_error in the initial markup we can now compile it using on-demand-entries only when it's needed.
2019-02-03 15:34:28 +01:00
Konstantin Grushetsky
2f304bd10e
Remove 'acorn' dependency ( #6193 )
2019-02-03 14:36:29 +01:00
Guilherme Augusto Henschel
ed2aa607d5
Updated readme with improved info about next/link and next/router ( #6197 )
2019-02-03 14:34:27 +01:00
Giuseppe
5a4176cffe
Invalidate cache for link[preload] in DEV ( #6183 )
...
Fixes #5860
2019-02-03 00:12:49 +00:00
Tim Neutkens
b2b2041e39
v8.0.0-canary.18
2019-02-01 13:23:56 +00:00
Sultan Tarimo
1a416b688e
Load ErrorComponent dynamically ( #6171 )
...
Closes #6152 .
- Only dynamically load /_error.js when an exception occurs.
- Fix websocket “/_error.js” ping oddity.
2019-01-31 20:45:36 +00:00
Dovydas Navickas
f4f3649de3
Update README.md ( #6106 )
...
* Update README.md
I know I'm a moron for not understanding what's written in black on white, but... Maybe this will save someone an hour or two 😄
* Apply proposed changed
2019-01-29 15:50:01 +01:00
Connor Davis
8b24103d7f
Throw Error When Running next start
on Serverless Build ( #6166 )
...
Fixes #6144
2019-01-29 13:42:07 +01:00
Tim Neutkens
0e21615245
v8.0.0-canary.17
2019-01-27 22:03:13 +01:00
Tim Neutkens
59280f7747
Compile all next module files ( #6155 )
2019-01-27 21:56:02 +01:00
Tim Neutkens
136c37eca9
v8.0.0-canary.16
2019-01-27 17:20:24 +01:00
Tim Neutkens
b3045cc7a9
Implement circular JSON err.sh link ( #6149 )
...
* Implement circular JSON err.sh link
* Add test for getInitialProps returning circular json
* Make test warn less
* Fix tests
* Add reference to original tests
2019-01-27 16:12:17 +01:00
Luis Fernando Alvarez D
125aaf8834
Small fix in serverless docs ( #6146 )
2019-01-27 00:24:11 +01:00
Tim Neutkens
c6d3484a21
Handle SIGTERM with status code 0 ( #6143 )
...
Fixes #6140
2019-01-26 22:51:08 +01:00
Connor Davis
e46fdd6546
Add arcorn to fix webpack/npm bug ( #6137 )
2019-01-26 02:28:44 +01:00
Tim Neutkens
f05d339dcf
v8.0.0-canary.15
2019-01-26 02:02:48 +01:00
Tim Neutkens
b4ade0a3cd
Revert "Move phases back to next/constants ( #6104 )"
...
This reverts commit 9112f63eba
.
2019-01-26 02:01:49 +01:00
Tim Neutkens
024323b6d8
v8.0.0-canary.14
2019-01-25 19:14:11 +01:00
Luc
14604450cb
Print list of pages when building ( #6125 )
...
* show pages created when building
* fix types
2019-01-25 18:36:29 +01:00
Tim Neutkens
7ecf675834
Remove resolve rule ( #6133 )
...
Fixes #6117
I'm not entirely sure why we had this rule in the first place. I think for some tests related things when we didn't have a monorepo yet. However it could also be related to bundle sizes. I'll compare that when the build finishes.
The reason for #6117 is that we added `react-is` to the dependency tree of Next.js to check valid elements. react-redux uses hoist-non-react-statics which ships a different version of react-is in this case, one that has `ReactIs.isMemo`
2019-01-25 18:33:58 +01:00
Tim Neutkens
adfdc79842
Move next/head to Typescript ( #6131 )
...
Solves a bunch of inconsistencies in handling React elements too.
2019-01-25 16:43:12 +01:00
Tim Neutkens
6c49bee959
Make side-effect.js smaller ( #6118 )
...
Start at making side-effect.js / head.js smaller.
2019-01-25 01:39:15 +01:00
Connor Davis
97bf2679aa
v8.0.0-canary.13
2019-01-24 16:27:05 -06:00
Tim Neutkens
243cd65c1d
Drop assetSizePlugin ( #6122 )
...
Fixes #6121
2019-01-24 23:04:20 +01:00
Tim Neutkens
1191843e17
v8.0.0-canary.12
2019-01-24 10:51:13 +01:00
Connor Davis
f28833c594
Upgrade Webpack to 4.29.0 with FutureEmitAssets for Massive Memory Optimizations ( #6114 )
...
We want our new memory optimizations (https://github.com/webpack/webpack/pull/8609 )
2019-01-24 10:25:58 +01:00
Tim Neutkens
9112f63eba
Move phases back to next/constants ( #6104 )
...
* Move phases back to next/constants
* Fix typescript error
2019-01-23 14:10:12 +01:00
Tim Neutkens
c5d5148bad
v8.0.0-canary.11
2019-01-22 13:12:50 +01:00
Tim Neutkens
2a50c176cf
Make HMR still apply updates when there is a webpack warning ( #6099 )
...
Fixes #5363
I noticed this happening when making some changes on the nextjs.org/learn app. Basically we didn't apply updates when a warning was emitted from webpack. This would cause issues for users using eslint-loader or similar too.
2019-01-21 22:39:39 +01:00
Connor Davis
43b0b95e1d
v8.0.0-canary.10
2019-01-21 09:13:26 -06:00
Tim Neutkens
862e0a39b9
Update package.json description
2019-01-21 13:46:01 +01:00
Tim Neutkens
0949b4dd1a
Make lerna always use exact version when updating packages
2019-01-21 12:20:05 +01:00
Tim Neutkens
0714300b8c
v8.0.0-canary.9
2019-01-19 13:40:53 +01:00