1. 20 8月, 2019 1 次提交
  2. 09 8月, 2019 1 次提交
    • A
      Experimental: Granular build chunking (#7696) · 3e8b36e8
      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
      3e8b36e8
  3. 24 6月, 2019 1 次提交
  4. 22 6月, 2019 1 次提交
    • G
      ncc Webpack build redux (#7628) · e85a517e
      Guy Bedford 提交于
      * Reimplement ncc webpack build
      
      This reverts commit 6feca310.
      
      * Shared webpack build
      
      * ncc workaround pending @zeit/ncc#437
      
      * update ncc
      
      * build tweaks, fixup autodll-import
      
      * possible Node 8 fix
      
      * second possible Node 8 fix
      
      * and update taskfile
      e85a517e
  5. 29 5月, 2019 1 次提交
    • T
      Move syntax formatting to prettier (#7454) · 3e51ddb8
      Tim Neutkens 提交于
      * Run prettier over packages/**/*.js
      
      * Run prettier over packages/**/*.ts
      
      * Run prettier over examples
      
      * Remove tslint
      
      * Run prettier over examples
      
      * Run prettier over all markdown files
      
      * Run prettier over json files
      3e51ddb8
  6. 17 5月, 2019 2 次提交
  7. 29 4月, 2019 1 次提交
  8. 27 4月, 2019 1 次提交
  9. 24 4月, 2019 1 次提交
  10. 12 3月, 2019 2 次提交
  11. 20 2月, 2019 1 次提交
  12. 21 11月, 2018 1 次提交
    • T
      Remove flow types (#5704) · c2eaf26e
      Tim Neutkens 提交于
      * Remove flow-typed
      
      * Remove flow types
      
      * Remove the last types
      
      * Bring back taskr dependency
      
      * Revert "Bring back taskr dependency"
      
      This reverts commit 38cb95d7274d63fe63c6ac3c95ca358a28c17895.
      
      * Bring back preset-flow as it’s used for tests
      
      * Revert "Revert "Bring back taskr dependency""
      
      This reverts commit b4c933ef133f4039f544fb10bf31d5c95d3b27a2.
      c2eaf26e
  13. 02 10月, 2018 1 次提交
  14. 01 10月, 2018 1 次提交
    • T
      Monorepo (#5341) · b1c4f3ae
      Tim Neutkens 提交于
      - Implements Lerna
      - Moves all source code into `packages/next`
      - Keeps integration tests in the root directory
      b1c4f3ae
  15. 03 9月, 2018 1 次提交
  16. 16 8月, 2018 2 次提交
  17. 14 8月, 2018 1 次提交
  18. 30 7月, 2018 1 次提交
  19. 28 7月, 2018 1 次提交
  20. 24 7月, 2018 1 次提交
  21. 17 6月, 2018 1 次提交
  22. 15 6月, 2018 1 次提交
  23. 12 4月, 2018 1 次提交
    • T
      Add build manifest (#4119) · 15dde337
      Tim Neutkens 提交于
      * Add build manifest
      
      * Split out css since they don’t have exact name
      
      * Remove pages map
      
      * Fix locations test
      
      * Re-run tests
      
      * Get consistent open ports
      
      * Fix static tests
      
      * Add comment about Cache-Control header
      15dde337