1. 18 9月, 2020 2 次提交
    • D
      Adds note about public directory (#17203) · 5f16e063
      Dan Laugharn 提交于
      This comes up a lot in discussions/as an issue, so added a small comment about uploading files to the public directory. I'm not sure if it is worth a deeper technical explanation as well.
      5f16e063
    • S
      fix(eslint-plugin-next): support src/pages folder in no-html-link-for-pages rule (#16743) · fa035163
      stefanprobst 提交于
      currently, the `no-html-link-for-pages` eslint rule will look for the pages folder in either `pages`, or a custom folder provided via rule option. this PR adds support for also looking in `src/pages` by default.
      
      (sidenote: not sure about the custom pagesfolder path: does next support locations other than `pages` and `src/pages`)?)
      
      fixes  #16426
      fa035163
  2. 17 9月, 2020 1 次提交
  3. 16 9月, 2020 3 次提交
  4. 15 9月, 2020 9 次提交
  5. 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
  6. 13 9月, 2020 4 次提交
  7. 12 9月, 2020 12 次提交
  8. 11 9月, 2020 6 次提交