1. 21 4月, 2020 1 次提交
  2. 20 4月, 2020 2 次提交
  3. 19 4月, 2020 1 次提交
  4. 17 4月, 2020 1 次提交
  5. 16 4月, 2020 2 次提交
  6. 15 4月, 2020 2 次提交
  7. 14 4月, 2020 2 次提交
    • J
      Add basePath in link component and add/remove it consistently (#9988) · d3e308a7
      JJ Kasper 提交于
      * 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
      d3e308a7
    • H
      Adds first input delay performance metric (#8884) · 04ceba43
      Houssein Djirdeh 提交于
      * 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: NJoe Haddad <joe.haddad@zeit.co>
      04ceba43
  8. 11 4月, 2020 1 次提交
  9. 08 4月, 2020 1 次提交
  10. 31 3月, 2020 6 次提交
  11. 27 3月, 2020 2 次提交
  12. 26 3月, 2020 1 次提交
    • J
      Add initial support for new env handling (#10525) · d8155b22
      JJ Kasper 提交于
      * Add initial support for new env config file
      
      * Fix serverless processEnv call when no env is provided
      
      * Add missing await for test method
      
      * Update env config to .env.json and add dotenv loading
      
      * ncc dotenv package
      
      * Update type
      
      * Update with new discussed behavior removing .env.json
      
      * Update hot-reloader createEntrypoints
      
      * Make sure .env is loaded before next.config.js
      
      * Add tests for all separate .env files
      
      * Remove comments
      
      * Add override tests
      
      * Add test for overriding env vars based on local environment
      
      * Add support for .env.test
      
      * Apply suggestions from code review
      Co-Authored-By: NJoe Haddad <joe.haddad@zeit.co>
      
      * Use chalk for env loaded message
      
      * Remove constant as it’s not needed
      
      * Update test
      
      * Update errsh, taskr, and CNA template ignores
      
      * Make sure to only consider undefined missing
      
      * Remove old .env ignore
      
      * Update to not populate process.env with loaded env
      
      * Add experimental flag and add loading of global env values
      Co-authored-by: NTim Neutkens <timneutkens@me.com>
      Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
      d8155b22
  13. 23 3月, 2020 1 次提交
    • T
      Add support for paths in tsconfig.json and jsconfig.json (#11293) · 7fce52b9
      Tim Neutkens 提交于
      * Add support for tsconfig/json `paths` option
      
      * Add tests for paths in tsconfig.json
      
      * Don't apply aliases when paths is empty
      
      * Clean up unused methods and link to TypeScript license
      
      * Add tests for jsconfig
      
      * Put feature under an experimental flag
      
      * Enable to see if tests pass
      
      * Update types
      
      * Add feature under an experimental flag
      7fce52b9
  14. 20 3月, 2020 1 次提交
  15. 16 3月, 2020 1 次提交
  16. 11 3月, 2020 1 次提交
  17. 03 3月, 2020 1 次提交
    • P
      Adding conformance checks (#10314) · 16672a43
      Prateek Bhatnagar 提交于
      * adding tests  for rect sync conformance check
      
      * adding test for react sync script conformance check
      
      * reverting yarn lock changes
      
      * adding duplicate polyfill conformance
      
      * bug fixes in dulpicate polyfill conformance check
      
      * adding settings capability to conformance plugin
      
      * removing minification check from server build
      
      * bug fix
      
      * settings for react sync script check
      16672a43
  18. 28 2月, 2020 1 次提交
    • J
      Fix url-polyfill dep and re-enable native-url (#10726) · 7848615b
      Janicklas Ralph 提交于
      * Adding native-url package
      
      * Bumping native-url version
      
      * Upgrading native-url
      
      * Logging stats object for debugging
      
      * Logging stats object for debugging
      
      * Adding try catch to the error lines
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Experimenting with regex
      
      * Testing regex changes
      
      * Fixing defer-script test case to not include polyfill.js
      
      * Meging changes with existing polyfill work
      
      * Bumping version
      
      * adjust webpack config
      
      * Reduce size in size test
      
      * Remove 1kb from legacy
      
      * Bumping native-url version, includes fix for IE11
      
      * Update lock file
      
      * Updating native-url, fixes issue on IE11
      
      * Fix sourcemap being added in document
      
      * Adding Router as an app level dep. Fixes Router not being added as a dep to pages without Link when granularChunks is enabled
      
      * Fix typescript error
      
      * Fix modern + granularChunks hydration failing
      
      * Fix TS error
      
      * Update native-url version
      
      * Adding native-url with safari fix
      
      * Update url-polyfill in polyfill-nomodule package
      
      * Remove url-polyfill from next package.json
      Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
      Co-authored-by: NJJ Kasper <jj@jjsweb.site>
      Co-authored-by: NJoe Haddad <timer150@gmail.com>
      7848615b
  19. 21 2月, 2020 3 次提交
  20. 19 2月, 2020 1 次提交
  21. 18 2月, 2020 1 次提交
    • J
      Remove ts-ignore where possible (#10541) · 3f691eaa
      Jan Potoms 提交于
      * Remove ts-ignore where possible
      
      And replace by typecasts
      
      * More accurate types
      
      * bend cliententries in a correct shape earlier on
      
      * comment becomes unnecessary
      
      * add webpack overload to allow for the next.js use case
      
      * Avoid changing public interface
      Co-authored-by: NJoe Haddad <timer150@gmail.com>
      3f691eaa
  22. 14 2月, 2020 1 次提交
  23. 05 2月, 2020 2 次提交
  24. 04 2月, 2020 1 次提交
  25. 30 1月, 2020 1 次提交
    • T
      [Experimental] Nomodule polyfills chunk (#10212) · e35005c2
      Tim Neutkens 提交于
      * Polyfill Promise in polyfills chunk
      
      * Override promise polyfill to use built-in
      
      * Update sizes
      
      * Update polyfills
      
      * Test
      
      * Add dep
      
      * Use iife
      
      * Unscope
      
      * Revert "Unscope"
      
      This reverts commit ab26bcefd551c544d5b3c577b7ce91e5ecfb9bb9.
      
      * trigger
      
      * Remove unused code
      
      * Set helpers to true
      
      * Update yarn.lock
      
      * Fix test
      
      * Update polyfills size
      
      * Add comment
      
      * Add back comment
      
      * Put polyfills optimization under experimental flag
      
      * Fix filename
      
      * bring back promise for backwards compat until experimental feature is landed
      
      * fix resolve alias check
      
      * correct loader
      
      * fix logic branches
      
      * adjust !!
      
      * adjust cache key
      
      * Conditionally branch polyfill
      
      * fix promise polyfill branching
      
      * Re-add runtime
      
      * fix base object
      
      * fix yarn lock
      
      * Add cache key
      
      * correctly set caller
      
      * add basic test
      
      * Increment h=>i
      
      * increment to j just in case
      Co-authored-by: NJoe Haddad <timer150@gmail.com>
      Co-authored-by: NJJ Kasper <jj@jjsweb.site>
      e35005c2
  26. 24 1月, 2020 1 次提交
  27. 23 1月, 2020 1 次提交
    • A
      [Experimental] Add built-in Sass support (#10133) · 8449ebc2
      Alexander Dreith 提交于
      * Add built-in Sass support
      
      * Add copy of CSS tests for SCSS
      
      * Fix failing tests
      
      * Fix url-loader tests
      
      * Remove css file generated by tests
      
      * Fix nprogress import for css file
      
      * Fix SCSS modules (still 2 tests that need investigating)
      
      * Update documentation for Sass support
      
      * Fix plain CSS import test
      
      * Fix formatting with prettier fix
      
      * Update test output to reflect scss usage
      
      * Revert "Fix plain CSS import test"
      
      This reverts commit 380319d9d0c4bfb19e28c210262ccd82d19f3556.
      
      # Conflicts:
      #	test/integration/scss-modules/test/index.test.js
      
      * Update loader structure
      
      * Resolve loaders before passing to compile function
      
      * Remove dead filter  code
      
      * Arrange loaders in order and push to array
      
      * Fix loader order bug
      
      * Fix global Sass loader and make module prepocessor optional
      
      * Adjust Sass Modules Implementation
      
      * Fix typo
      
      * Adjust regexps
      
      * Use regexes
      
      * Simplify global setup
      
      * Adjust comments
      
      * fix regex
      
      * Simplify identifier file
      
      * Update Sass Instructions
      
      * Remove unneeded fixtures
      
      * Adjust global tests
      
      * Remove wrapper
      
      * Update source maps
      
      * Flag scss behavior
      
      * Fix css property value
      
      * Update fixtures with Sass vars
      
      * Turn on Scss support
      
      * fix HMR test
      
      * Fix snapshots
      Co-authored-by: NTim Neutkens <tim@timneutkens.nl>
      Co-authored-by: NJoe Haddad <timer150@gmail.com>
      8449ebc2