- 12 8月, 2019 8 次提交
-
-
由 Tim Neutkens 提交于
-
由 Luis Fernando Alvarez D 提交于
* Throw error if next export detects an api route * Moved the test to the export tests * Added missing comma * Move the API route comment * Add comma after replace * Show a warning instead
-
由 JJ Kasper 提交于
* Add config/test app for new PR stats set-up * Move config/test app to test folder
-
由 Borek Bernard 提交于
The code example now uses simpler and safer approach to call page's `getInitialProps`.
-
由 Tim Neutkens 提交于
Follow-up of #7536, small optimization / code removal when the feature is not enabled.
-
由 Tim Neutkens 提交于
-
由 Tim Neutkens 提交于
* Remove Container from examples * Update readme to reflect Container removal
-
由 Tim Neutkens 提交于
-
- 11 8月, 2019 2 次提交
-
-
由 Lukáš Huvar 提交于
* Revert 405 on pages * Modify tests
-
由 Steven Sinatra 提交于
-
- 10 8月, 2019 4 次提交
-
-
由 Tim Neutkens 提交于
Fixes #7657
-
由 Houssein Djirdeh 提交于
* adds user timing marks for hydration step * changes measure names and removes window namespaces by adding performance as a global to standard * separates hydrate and render marks * Add performance mark to router change instead of link click * Changes performance mark name at router change * adds checks for performance * creates constants utils for performance and user timings
-
由 JJ Kasper 提交于
* Run migration script for GitHub Actions * try to expose temporary token
-
- 09 8月, 2019 5 次提交
-
-
由 JJ Kasper 提交于
-
由 Junyoung Choi 提交于
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
-
由 Alex Castle 提交于
* Refactor SplitChunksPlugin configs and add experimental chunking strategy * Use typeDefs for SplitChunksConfig * Modify build manifest plugin to create runtime build manifest * Add support for granular chunks to page-loader * Ensure normal behavior if experimental granularChunks flag is false * Update client build manifest to remove iife & implicit global * Factor out '/_next/' prepending into getDependencies * Update packages/next/build/webpack-config.ts filepath regex Co-Authored-By: NJason Miller <developit@users.noreply.github.com> * Simplify dependency load ordering in page-loader.js * Use SHA1 hash to shorten filenames for dependency modules * Add scheduler to framework cacheGroup in webpack-config * Update page loader to not duplicate script tags with query parameters * Ensure no slashes end up in the file hashes * Add prop-types to framework chunk * Fix issue with mis-attributed events * Increase modern build size budget--possibly decrement after consulting with @janicklasralph * Use module.rawRequest for lib chunks Co-Authored-By: NDaniel Stockman <daniel.stockman@gmail.com> * Dasherize lib chunk names Co-Authored-By: NDaniel Stockman <daniel.stockman@gmail.com> * Fix typescript errors, reorganize lib name logic * Dasherize rawRequest, short circuit name logic when rawRequest found * Add `scheduler` package to test regex * Fix a nit * Adjust build manifest plugin * Shorten key name * Extract createPreloadLink helper * Extract getDependencies helper * Move method * Minimize diff * Minimize diff x2 * Fix Array.from polyfill * Simplify page loader code * Remove async=false for script tags * Code golf `getDependencies` implementation * Require lib chunks be in node_modules * Update packages/next/build/webpack-config.ts Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Replace remaining missed windows compat regex * Trim client manifest * Prevent duplicate link preload tags * Revert size test changes * Squash manifest size even further * Add comment for clarity * Code golfing
🏌 ️♂️ * Correctly select modern dependencies * Ship separate modern client manifest when module/module enabled * Update packages/next/build/webpack/plugins/build-manifest-plugin.ts Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Remove unneccessary filter from page-loader * Add lookbehind to file extension regex in page-loader * v9.0.3 * Update examples for Apollo with AppTree (#8180) * Update examples for Apollo with AppTree * Fix apolloClient being overwritten when rendering AppTree * Golf page-loader (#8190) * Remove lookbehind for module replacement * Wait for build manifest promise before page load or prefetch * Updating modern-only chunks inside the right entry point * Fixing ts errors * Rename variable * Revert "Wait for build manifest promise before page load or prefetch" This reverts commit c370528c6888ba7fa71162a0854534ed280224ef. * Use proper typedef for webpack chunk * Re-enable promisified client build manifest * Fix bug in getDependencies map * Insert check for granularChunks in page-loader * Increase size limit temporarily for granular chunks * Add 50ms delay to flaky test * Set env.__NEXT_GRANULAR_CHUNKS in webpack config * Reset size limit to 187 * Set process.env.__NEXT_GRANULAR_CHUNKS to false if selectivePageBuilding * Update test/integration/production/test/index.test.js Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Do not create promise if not using chunking PR
-
- 08 8月, 2019 2 次提交
-
-
由 Jason Miller 提交于
* Fix modern SSR build when Babel configuration uses a String value for "targets". Fixes #8255. * Add custom babelrc integration tests
-
由 Delba de Oliveira 提交于
-
- 07 8月, 2019 5 次提交
-
-
由 JJ Kasper 提交于
-
由 Sebastian Benz 提交于
* migrate amp-toolbox-optimizer to @ampproject/toolbox-optimizer * Add updated yarn.lock
-
由 JJ Kasper 提交于
* Add warning for bad href being passed to router * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Inline invalidHref for better code elimination
-
由 JJ Kasper 提交于
* Revert "Remove Old Prerender Implementation (#8218)" This reverts commit 2ab300dd. * Add contentHandler for page config * Rename config from contentHandler to re-use experimentalPrerender * Remove un-needed changes * Replace backslashes for manifest * Update manifest output format * Make prerender: true enable SPR behavior and update to merge prerender-manifest for flying-shuttle * Fix output path for / prerender file * Add dynamic routes to test suite * Add generating and previewing of skeletons for prerendered dynamic routes * remove inline prerender option * update to not replace getInitialProps which allows nested getInitialProps and add query when fetching prerender * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Remove legacy prerender option * Apply suggestions from review * Apply more suggestions from review * Apply suggestions from code review Co-Authored-By: NJoe Haddad <timer150@gmail.com> * Add handling of error when parsing json * Update handling of moving exported pages * Rename nextPreviewSkeleton to _nextPreviewSkeleton * bump
-
由 Joe Haddad 提交于
* Swallow process kill errors * Strictly look for messsage
-
- 06 8月, 2019 7 次提交
-
-
由 Luis Fernando Alvarez D 提交于
* Remove forEach over the components prop * Remove propertyFields
-
由 Lukáš Huvar 提交于
* Documentation about gzip * Update packages/next/README.md Co-Authored-By: NTim Neutkens <tim@timneutkens.nl> * Improve docs * Update packages/next/README.md Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update packages/next/README.md Co-Authored-By: NLuis Fernando Alvarez D. <luis@zeit.co> * Update README.md
-
由 Luis Fernando Alvarez D 提交于
-
由 Joe Haddad 提交于
-
由 Lukáš Huvar 提交于
-
由 Joe Haddad 提交于
* Experimental: Serverless Trace target The Serverless Trace target produces Serverless-handler wrapped entrypoints, but does not bundle all of `node_modules`. This behavior increases bundling performance to be more akin to `target: 'server'`. This mode is expected to be used with smart platforms (like [ZEIT Now](https://zeit.co/now) that can trace a program to its minimum dependencies. * Use more generic variables * Add asset relocator for production mode of serverless trace * Verify Firebase compatiblity * Revert "Add asset relocator for production mode of serverless trace" This reverts commit 8404f1dcf28b60edab41a56c94b38dcd3fddec20. * Add serverless trace tests * Add _isLikeServerless helper * Make constants * Fix export * Update packages/next-server/server/config.ts Co-Authored-By: NJJ Kasper <jj@jjsweb.site> * Use a global helper for is like serverless * Update import for isTargetLikeServerless * Update packages/next/build/index.ts Co-Authored-By: NJJ Kasper <jj@jjsweb.site>
-
由 JJ Kasper 提交于
-
- 04 8月, 2019 4 次提交
-
-
由 JJ Kasper 提交于
* Update to check browserName instead of browser.log * Fix browserName check for some tests
-
由 Natalie Marleny 提交于
* Update CN README for consistency * Add buttons to README.md * Center nextjs learn text * Update CN README for consistency * fix README link in README-zh-CN.md
-
由 Tim Neutkens 提交于
-
由 Luis Fernando Alvarez D 提交于
-
- 03 8月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Raja Sekar 提交于
-
- 02 8月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Remove Prerender Implementation * Fix PageConfig * Fix next server * Fix two more files * Fix render * Fix render * Try to fix up page config * Correct build file * Switch back static checker * Turn stuff back * Add missing newline * Revert changes * Add missing newline * Fix types
-