- 02 11月, 2019 3 次提交
-
-
由 Tim Neutkens 提交于
Fixes #9284
-
由 Janicklas Ralph 提交于
* Polyfilling fetch and object-assign * Polyfilling corejs object-assign * Adding object-assign in polyfills.js. IE11 does not support Object.assign * Fixing failing test * Updating object.assign polyfill to fix aliasing * Updating test case value to match new build stats * Increasing the size of default build to 225kb * Fixing defer-script test case to not include polyfill.js * Revert README.md * Re-design the polyfill approach based on PR feedback * Adding comment and fixing test case * Rename polyfills chunk * Extract aliases into helper * Remove extra new line * Fix TypeScript typings * Adding _internal_fetch alias * Adjust build manifest plugin * Build manifest plugin changes - adding a separate entry for polyfills * Rename polyfills entry in build-manifest.json * Remove old comment * Fix TS * Set key * Polyfills already added * Filtring polyfill.module.js * Fix test * Add __internal_fetch to alias rule * Adjust name * bump size * ignore polyfills * sigh
-
由 Tim Neutkens 提交于
* Add initial bit for plugins * Add checks for needed metadata values * Add test * Initial plugins changes * Add handling for _app middleware * Add loading of _document middleware and handling of multiple default export syntaxes * Fix insert order for middleware member expression * Remove early return from middleware plugin from testing * Add tests for current plugin middlewares * Update test plugin package.json * Update handling for class default export * Update to use webpack loader instead of babel plugin, remove redundant middleware naming, and add field for required env for plugins * Add middleware to support material-ui use case and example material-ui plugin * Update tests and remove tests stuff from google analytics plugin * Remove old plugin suite * Add init-server middleware * Exit hard without stack trace when error in collecting plugins * Add on-error-client and on-error-server and update to run init-server with next-start in serverless mode * Update init-client for google analytics plugin * Add example Sentry plugin and update with-sentry-simple * Remove middleware field/folder and use src dir for plugins * Add post-hydration middleware and update material-ui plugin * Put plugins code behind flag * Update chromedriver * Revert "Update chromedriver" This reverts commit 1461e978e677f7da05e29e0415ec614a04bf65f9. * Update lock file * Remove un-needed _app for sentry example * Add auto loading of scoped packages, add plugins config for manually listing plugins, and update to only collect plugins once * Update example plugins * Expose plugins' config * Rename plugin lifecycles and add babel-preset-build * Rename other methods with unstable * Update log when plugin config overrides auto-detecting
-
- 01 11月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Don't rely on page-config plugin to detect iSSG usage * Make sure to only update sprStatus if page file * Remove dead-code elimination for iSSG code * Revert next-page-config.ts * Update index.js * Update index.test.js
-
- 30 10月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Update to use a historyId to track invalid popstates * Remove log from debugging * Use Math.random instead of Date.getTime to avoid mocks
-
- 18 10月, 2019 2 次提交
-
-
由 Gerald Monaco 提交于
-
由 Melanie Seltzer 提交于
* Dedupe meta tag in favor of custom tag defined in _app * Add test * Fix comments
-
- 15 10月, 2019 1 次提交
-
-
由 Gerald Monaco 提交于
-
- 11 10月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
-
由 JJ Kasper 提交于
* Add buildId to SPR data routes * Update buildId replace in serverless loader * Use new RegExp and add comment * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Test to ensure client transition and handle / data route
-
- 03 10月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* s/Automatic Prerendering/Automatic Static Optimization/ * Update more links
-
- 24 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* initial commit for SPRv2 * Add initial SPR cache handling * update SPR handling * Implement SPR handling in render * Update tests, handle caching with serverless next start, add TODOs, and update manifest generating * Handle no prerender-manifest from not being used * Fix url.parse error * Apply suggestions from code review Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co> * Replace set with constants in next-page-config * simplify sprStatus.used * Add error if getStaticProps is used with getInitialProps * Remove stale TODO * Update revalidate values in SPR cache for non-seeded routes * Apply suggestions from code review * Remove concurrency type * Rename variable for clarity * Add copying prerender files during export * Add comment for clarity * Fix exporting * Update comment * Add additional note * Rename variable * Update to not re-export SPR pages from build * Hard navigate when fetching data fails * Remove default extension * Add brackets * Add checking output files to prerender tests * Adjust export move logic * Clarify behavior of export aggregation * Update variable names for clarity * Update tests * Add comment * s/an oxymoron/contradictory/ * rename * Extract error case * Add tests for exporting SPR pages and update /_next/data endpoint to end with .json * Relocate variable * Adjust route building * Rename to unstable * Rename unstable_getStaticParams * Fix linting * Only add this when a data request * Update prerender data tests * s/isServerless/isLikeServerless/ * Don't rely on query for `next start` in serverless mode * Rename var * Update renderedDuringBuild check * Add test for dynamic param with bracket * Fix serverless next start handling * remove todo * Adjust comment * Update calculateRevalidate * Remove cache logic from render.tsx * Remove extra imports * Move SPR cache logic to next-server * Remove old isDynamic prop * Add calling App getInitialProps for SPR pages * Update revalidate logic * Add isStale to SprCacheValue * Update headers for SPR * add awaiting pendingRevalidation * Dont return null for revalidation render * Adjust logic * Be sure to remove coalesced render * Fix data for serverless * Create a method coalescing utility * Remove TODO * Extract send payload helper * Wrap in-line * Move around some code * Add tests for de-duping and revalidating * Update prerender manifest test
-
- 18 9月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Global CSS Support * Fix webpack configuration * oneOf rule isn't necessary yet * Adjust CSS chunk naming * Begin testing CSS behavior * Add another test TODO * Replace null-loader with ignore-loader * Turn on chunks for new CSS feature * Fix multi test suite * Test CSS import order * Test style HMR * Test CSS compilation * Test compilation and prefixing together * Verify CSS styling works for Development and Production * Add missing TODO * Remove unnecessary test * Adjust TODO message * Hide page until React hydrates * Revert "Hide page until React hydrates" This reverts commit 898d4e0ee547b003d5790e2b11476740d645b907. * Hide FOUC during development * Test CSS imports * Update tests TODO * Add fixture for url() test * Test `file-loader` support in CSS files * Use a simple variant of cssnano * Self-import * Undo bundling * Implement suggestion
-
- 17 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Prevent updating URL when delaying asPath * Ignore TypeScript not liking __NEXT_DATA__ * Update another global to fix standard check
-
- 16 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add autoExport to __NEXT_DATA__ * Update render variable
-
- 12 9月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Update pages-loader to return one value * de-dupe page mod update also
-
- 10 9月, 2019 1 次提交
-
-
由 Filip Wojciechowski 提交于
* better type for AppTree in NextPageContext * updated tests * new AppTreeType type and updated tests * removed a commented out line * another take on the type of AppTree, with updated tests * allow passing additional props to AppType * Update suite name
-
- 04 9月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Initial move * Make emitting work * Update paths * Remove leftover files * Add correct externals configuration * Import correct path * Update path to work with ts-server test * Update lib directory * Compile next-server/lib
-