- 20 8月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Optimize client-side routing manifest * Turn on granularChunks for tests * Add row for build manifest * Hack it
-
- 09 8月, 2019 1 次提交
-
-
由 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
-
- 24 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
This reverts commit e85a517e.
-
- 22 6月, 2019 1 次提交
-
-
由 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
-
- 29 5月, 2019 1 次提交
-
-
由 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
-
- 17 5月, 2019 2 次提交
-
-
由 Tim Neutkens 提交于
* Revert "Add retrying to CircleCi and fixes for ncc'ed webpack (#7366)" This reverts commit 5beb365d. * Revert "ncc Webpack build (#7301)" This reverts commit bd8f3c62. # Conflicts: # packages/next/package.json
-
由 Guy Bedford 提交于
* add back ncc * fixup ncc build
-
- 29 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 27 4月, 2019 1 次提交
-
-
由 Connor Davis 提交于
-
- 24 4月, 2019 1 次提交
-
-
由 Luis Fernando Alvarez D 提交于
-
- 12 3月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
* Ensure correct key order * Fix bug * Format this document while we're at it
-
由 Joe Haddad 提交于
-
- 20 2月, 2019 1 次提交
-
-
由 Connor Davis 提交于
Upgrades `standard` to major version 12
-
- 21 11月, 2018 1 次提交
-
-
由 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.
-
- 02 10月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
-
- 01 10月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
- Implements Lerna - Moves all source code into `packages/next` - Keeps integration tests in the root directory
-
- 03 9月, 2018 1 次提交
-
-
由 Bertrand Marron 提交于
* Keep chunks filenames in production mode * Add test for new `[name]` behavior * Rename static/dll to static/development/dll
-
- 16 8月, 2018 2 次提交
-
-
由 Tim Neutkens 提交于
* Implement autodllplugin * Add flow-typed for autodll-webpack-plugin * Improve onClick tests * Make third test pass * Make sure DLL bundle is loaded without async * Add nonce * Fix windows DLL path
-
由 Tim Neutkens 提交于
-
- 14 8月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
* Implement autodllplugin * Add flow-typed for autodll-webpack-plugin
-
- 30 7月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
Depends on https://github.com/zeit/next-plugins/pull/228 Failing tests are expected as `@zeit/next-css` has to be updated/released first. This implements rendering of `.css` chunks. Effectively removing the custom document requirement when adding next-css/sass/less/stylus.
-
- 28 7月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
-
- 24 7月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
Webpack 4, react-error-overlay, react-loadable (major)
-
- 17 6月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
Also adds basic `flow` to webpack.js and the plugins.
-
- 15 6月, 2018 1 次提交
-
-
由 Tim Neutkens 提交于
The prepares for next-server. I also took this as an opportunity to get all build directory paths from a single location, as they were previously scattered across webpack/babel plugins and loaders.
-
- 12 4月, 2018 1 次提交
-
-
由 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
-