1. 22 9月, 2020 4 次提交
  2. 21 9月, 2020 8 次提交
  3. 20 9月, 2020 1 次提交
    • D
      Update trailingSlash parameter name (#17228) · 571f8bed
      Daniel Lauzon 提交于
      Reflect the change in `trailingSlash` parameter name.
      
      I found this because of the great warning on the build!
      ```
      Warning: The "exportTrailingSlash" option has been renamed to "trailingSlash". Please update your next.config.js.
      ```
      571f8bed
  4. 18 9月, 2020 3 次提交
  5. 17 9月, 2020 1 次提交
  6. 16 9月, 2020 3 次提交
  7. 15 9月, 2020 9 次提交
  8. 14 9月, 2020 3 次提交
    • J
      [Fix] `webpack@5.0.0-beta.30`: Invalid configuration (#17045) · 80000f42
      Jens Meindertsma 提交于
      Earlier today #17038 was merged which I opened to fix a problem when using `webpack@5.0.0-beta.30` with Next.js using the new Webpack 5 support. In that PR, the only change was the renaming of a configuration key. I later discovered that the change on the Webpack side was different than I initially thought, and this meant that the fix I submittted to Next.js didn't work.
      
      This PR intends to fix the remaining problems. Webpack 5 now accepts a `environment` key that can be used to configure the target output. Previously, this was known as `ecmaVersion` and accepted a number. Now, `environment` accepts a configuration object with individual options. I've configured this in such a way where it resembles an ES5 environment:
      ```js
      environment: {
         arrowFunction: false,
         bigIntLiteral: false,
         const: false,
         destructuring: false,
         dynamicImport: false,
         forOf: false,
         module: false,
      }
      ```
      80000f42
    • J
      v9.5.4-canary.15 · 1d30f217
      Joe Haddad 提交于
      1d30f217
    • J
      Include all files in Prettier (#17050) · a3c47721
      Jens Meindertsma 提交于
      This uses the "Expand directories" feature introduces in Prettier 2.0 to automatically format all supported file types.
      
      Also, I fixed some badly formatted files.
      a3c47721
  9. 13 9月, 2020 4 次提交
  10. 12 9月, 2020 4 次提交
    • T
      v9.5.4-canary.14 · d113c640
      Tim Neutkens 提交于
      d113c640
    • T
      Update workflow to use latest webpack 5 beta · 79f060ee
      Tim Neutkens 提交于
      79f060ee
    • J
      Fix Webpack 5 configuration for v5.0.0-beta.30 (#17038) · 4af5032e
      Jens Meindertsma 提交于
      This PR fixes #17035. As described in the issue, there was a breaking change in `webpack@5.0.0-beta.30`: `output.ecmaVersion` was replaced by `output.environment`. This meant Next.js apps using this `webpack` version would break. This PR updates the relevant Webpack config.
      
      I think this will break any apps that are still using `webpack@5.0.0-beta.29`, but I don't know whether that is a problem as this is a beta feature. If it is, I'd love it if someone could let me know how to detect beta versions in the code so I can make it backwards-compatible.
      4af5032e
    • J
      v9.5.4-canary.13 · 4c363140
      Joe Haddad 提交于
      4c363140