- 20 8月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Optimize client-side routing manifest * Turn on granularChunks for tests * Add row for build manifest * Hack it
-
- 19 8月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Add custom profiler / tracer This captures both client/production builds and everything before and after is cpu profiled, which makes sure that the whole process instead of just webpack is included in the final report. * Update tests * Update profiling-plugin.js * Rename profiling-plugin.js to profiling-plugin.ts * Update profiling-plugin.ts * Update and rename profiling-plugin.ts to profiling-plugin.js * Update webpack-config.ts * Update profiling-plugin.js * Add types * Add missing type * Add back TypeScript linting * Remove tracing-js
-
- 12 8月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Add checking for hybrid AMP during static check * Update to always hit server for prerender data * Add removing of SPR code when not used * Add checking for hybrid AMP during static check * Update to always hit server for prerender data * Add removing of SPR code when not used * Update dead code elimination
-
- 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
-
- 06 8月, 2019 1 次提交
-
-
由 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>
-
- 30 7月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 25 7月, 2019 1 次提交
-
-
由 Janicklas Ralph 提交于
* Module/nomodule implementation based on RFC 7563 * Remove comment * Fixing issue with building amp pages * Fixing test cases for serverless mode * Adding safari 10 nomodule fix. Preloading modern js by default * Fixing size-limit integration test * Bug fix * Adding testcase for modern build * Trigger rebuild * Setting default crossOrigin value * Moving modern config option inside experimental flag * Adding nomodule attribute to safari-fix script * Changing safari10NomoduleFix default value to true * Removing safari-fix flag * Changing .es6 to .module * Disable modern default * Removing default crossOrigin value. Setting modern flag to false by default. Fixed test cases * Remove confusing defaults and mark required instead * Adjust blacklist * Move behavior of page marking * Fixing childCompiler errors not being captured * Tweak names * Revert * whoops * Fixing bug with page-loader.js * Changing modern babel cache name * Rename helper * Iterate over both bundles * Correctly clamp bundle sizes * Revert test * Add modern mode tests * Fix test * test * test2
-
- 14 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
slashes for better handling
-
- 09 7月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
contains ignored package name
-
- 29 6月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 27 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Asynchronously check for type errors * Add TODO * Fix webpack invalidation * Show TypeScript error in dev client
-
- 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
-
- 19 6月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Re-require all module information for client-side initializers list We really should re-work how our loadable code words, because this passes an excessive number of modules to the client. In the ideal world, we only pass the entry module id of each chunk, but there's no point in investing the time until we switch to webpack 5 which completely revamps the chunk graph API. * Get a unique set of ids
-
- 31 5月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 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
-
- 28 5月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update escape string regexp operators * temp * Extract getRouteRegex func * First iteration of dynamic routing for production only * Correctly order prod * Add serverless support * Single line it * noop routes * Format doc * Fix dynamic routing for dev * Add flag for dynamic routing * Update packages/next-server/lib/router/router.ts Co-Authored-By: NJJ Kasper <jj@jjsweb.site> * remove example * Add router tests * Format code * Sort routes * Update to not use posix path methods
-
- 23 5月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
*
⬆ Upgrade workspace dependencies * Run new prettier against examples * Upgrade some next-server packages * Upgrade Next.js dependencies * Upgrade webpack deps * Upgrade async sema * Fix compilation * Revert broken plugin -
由 JJ Kasper 提交于
* Add automatic exporting of pages with no getInitialProps * Add support for exporting serverless to static and serving the html files during next start * Fix missing runtimeEnv when requiring page, re-add warning when trying to export with serverless, and update tests * Update flying-shuttle test * revert un-used pagesManifest change * remove query.amp RegExp test * Fix windows backslashes not being replaced * Re-enable serverless support for next start * bump * Fix getInitialProps check * Fix incorrect error check * Re-add check for reserved pages * Fix static check * Update to ignore /api pages and clean up some tests * Re-add needed next.config for test and correct behavior * Update RegExp for ignored pages for auto-static * Add checking for custom getInitialProps in pages/_app * Update isPageStatic logic to only use default export * Re-add retrying to CircleCi * Update query during dev to only have values available during export for static pages * Fix test * Add warning when page without default export is found and make sure to update pages-manifest correctly in flying-shuttle mode * Fix backslashes not being replaced * Integrate auto-static with flying-shuttle and make sure AMP is handled in flying-shuttle * Add autoExport for opting in
-
- 17 5月, 2019 3 次提交
-
-
由 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
-
由 JJ Kasper 提交于
* Add retrying to CircleCi and run prepublish separately to get better logs in Azure * Apply workaround for Azure node 10 and ncc * Update incorrect webpack imports * Use ncced autodll-webpack-plugin * Move autodll-webpack-plugin to devDependencies
-
由 Guy Bedford 提交于
* add back ncc * fixup ncc build
-
- 15 5月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 09 5月, 2019 2 次提交
-
-
由 Joe Haddad 提交于
* Separate shared shuttle modules * Correct types
-
由 Joe Haddad 提交于
-
- 08 5月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 02 5月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
* Copy pretty-bytes instead of installing
-
- 29 4月, 2019 1 次提交
-
-
由 JJ Kasper 提交于
-
- 27 4月, 2019 1 次提交
-
-
由 Connor Davis 提交于
-
- 26 4月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 25 4月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 24 4月, 2019 3 次提交
-
-
由 Joe Haddad 提交于
* Add Flying Shuttle plugin to server compilation * Ignore build artifacts in flying shuttle manifest * Add comments explaining what's going on * Emit Shuttle manifest after both compilations
-
由 JJ Kasper 提交于
-
由 Luis Fernando Alvarez D 提交于
-
- 23 4月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Cache Babel and AutoDll plugin in `dirDir/cache` * Extract code
-
- 22 4月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Update to use babel plugin with webpack plugin to remove AMP client bundles since they are not used * Remove acorn dependency since it isn't used
-
由 Joe Haddad 提交于
The new version of Terser seems to be significantly slower than the previous. I wanted to see what our stats PR says.
-
- 12 4月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
-
- 11 4月, 2019 2 次提交
-
-
由 JJ Kasper 提交于
* Use next.config env and packages to calculate hashes for chunk-graph * Remove example from testing * remove left over import * Tweak behavior
-
由 Joe Haddad 提交于
-