- 17 Apr, 2020 3 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
This allows a page to be fully static (no runtime JavaScript) on a per-page basis. The initial implementation does not disable JS in development mode as we need to figure out a way to inject CSS from CSS imports / CSS modules without executing the component JS. This restriction is somewhat similar to https://www.gatsbyjs.org/packages/gatsby-plugin-no-javascript/. All things considered that plugin only has a usage of 600 downloads per week though, hence why I've made this option unstable/experimental initially as I'd like to see adoption patterns for it first. Having a built-in way to do this makes sense however as the people that do want to adopt this pattern are overriding Next.js internals currently and that'll break between versions. Related issue: #5054 - Not adding `fixes` right now as this implementation needs more work. If anyone wants to work on this feel free to reach out on https://twitter.com/timneutkens
-
Paul Matthew Jaworski authored
-
- 16 Apr, 2020 2 commits
-
-
Luis Alvarez D authored
Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Tim Neutkens authored
-
- 15 Apr, 2020 12 commits
-
-
Luis Alvarez D authored
-
Tim Neutkens authored
* Disable PnP plugin in webpack 5 Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Use full hashes for hot update names Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Disable autodll in webpack 5 Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Disable HashedModuleIdsPlugin in webpack 5 Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Use regexes for ignoreplugin as it only supports regexes in webpack 5 Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * webpack 4 supports resourceRegExp and contextRegExp Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Remove webpack 4 specific properties from the webpack 5 config Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Add library option for webpack 5 support Co-Authored-By:
Zack Jackson <zackary.l.jackson@gmail.com> * Fix TypeScript Errors Co-authored-by:
Zack Jackson <zackary.l.jackson@gmail.com> Co-authored-by:
Joe Haddad <joe.haddad@zeit.co>
-
Joe Haddad authored
* Upgrade `terser-webpack-plugin` for Webpack 5 * Upgrade again * cacache cannot be bundled * cacache cannot be bundled * fix file * remove cacache dep * Update LICENSE
-
Joe Haddad authored
-
JJ Kasper authored
* Add initial process.env stubbing for new env support * Fix server process.env being stubbed in production * bump Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
JJ Kasper authored
* Ensure correct module not found error is shown with jsconfig paths * bump
-
Scott Parker authored
* Global styles now load before local in dev * fix lint * Adjust tests Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
JJ Kasper authored
* Clean up env tests a bit * Fix NEXT_PUBLIC env values not being inlined Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Gonzalo D'Elia authored
-
Vincent Voyer authored
* docs(Link): precise how prefetch works After this discussion: https://twitter.com/timneutkens/status/1243572726998188036 This might not be the exact good wording though. Let me know! * Update docs/api-reference/next/link.md Co-Authored-By:
Luis Alvarez D. <luis@zeit.co> Co-authored-by:
Luis Alvarez D. <luis@zeit.co>
-
Vincent Voyer authored
Following https://github.com/zeit/next.js/pull/11865#issuecomment-613663718
-
Joe Haddad authored
-
- 14 Apr, 2020 15 commits
-
-
Joe Haddad authored
-
Matt Carlotta authored
* Update with-redux-thunk example to include HMR * Update README * Fix clock component * Fix example component * Fix README
-
Joe Haddad authored
-
Fonger authored
* fix(next-server): fallback to empty string for basePath * Revert extra change and add unit test Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
* Add support for params in header key/values * Update todo * Update with handling for named patterns * Use compiled package Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
Joe Haddad authored
-
Joe Haddad authored
-
Joe Haddad authored
-
Tim Neutkens authored
-
Luis Alvarez D authored
-
Tim Neutkens authored
-
Tim Neutkens authored
This reverts commit 287961ed.
-
JJ Kasper authored
* Add basePath in link component and add/remove it consistently * Update to not use regex for delBasePath * Expose addBasePath as router method * Revert "Expose addBasePath as router method" This reverts commit 40fed596195c6affabf837e42d472452768e13a3. * Expose basePath as router field * Apply suggestion * Expose basePath as router field * remove un-used vars * Update externals * Apply lint fix * Update size-limit test * Update prefetch
-
JJ Kasper authored
-
Luis Alvarez D authored
* Updated shallow routing docs * Include getStaticProps
-
- 13 Apr, 2020 8 commits
-
-
Luis Alvarez D authored
-
Hoang Vo authored
* Add with-next-connect example * Update README * Fix code and lint * Fix typo * Run prettier * Include username * Rename example * Match with-passport styling * Add comments in code * Run prettier * Rewrite example * Add some comments * Update README.md * keys -> secret * Updated package.json and readme * UX changes * Securely encrypt cookie with @hapi/iron * Update README * Abstract db related actions and update README * security: add note on password hashing * remove unused dep * Updated readme Co-authored-by:Luis Alvarez <luis@zeit.co>
-
Yuki Takemoto authored
-
Joe Haddad authored
-
Joe Haddad authored
-
matamatanot authored
Co-authored-by:
matamatanot <matamatanot@gmail.com> Co-authored-by:
Joe Haddad <joe.haddad@zeit.co>
-
Houssein Djirdeh authored
* measures fid * updates typings, fixes logic, updates per review comments * update to es5 * separate clearMeasures * use relayer * creates fid polyfll render helper + simplifies measure * switch to dynamic import * creates fid experimental flag * removes unecessary time-to-first-input metric * removes hydration measure removes * default flag to false Co-authored-by:Joe Haddad <joe.haddad@zeit.co>
-
a14m authored
* Fix the with-sentry-simple example configuration code This fixes the following issues: - https://github.com/zeit/next.js/issues/8873 - https://github.com/zeit/next.js/issues/11642 * Update the README with the info about uploading to sentry configurations * Fix the typo in SENTRY_DNS -> SENTRY_DSN
-