Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webpack)!: update postcss to v8 #9671

Merged
merged 15 commits into from Feb 2, 2023
Merged

feat(webpack)!: update postcss to v8 #9671

merged 15 commits into from Feb 2, 2023

Conversation

clarkdo
Copy link
Member

@clarkdo clarkdo commented Aug 13, 2021

Types of changes

  • New feature (a non-breaking change which adds functionality)

Description

Update postcss to v8:

  • Move to postcss-loader options
  • Update css-loader, postcss-import, postcss-url and postcss-loader
  • Disable postcss-preset-env as it doesn't support postcss8
  • Warn message if user is using build.postcss.preset
  • Add autoprefixer as default plugins of postcss

NOTE: this is a breaking change for build.postcss config:

  • postcss-preset-env and build.postcss.preset have been removed as it doesn't support postcss v8
  • build.postcss has been moved to postss-loader options format:
  • build.postcss.plugins to build.postcss.postcssOptions.plugins, the object format is still same
  • build.postcss.order to build.postcss.postcssOptions.order
  {
+   postcssOptions: {
      plugins: {
        'postcss-import': {},
        'postcss-url': {},
        'postcss-preset-env': this.preset,
        'cssnano': { preset: 'default' } // disabled in dev mode
      },
      order: 'presetEnvAndCssnanoLast',
+   },
    preset: {
      stage: 2
    },
    // Other postcss-loader options https://github.com/webpack-contrib/postcss-loader#options
  }

Checklist:

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly. (PR: #)
  • I have added tests to cover my changes (if not applicable, please state why)
  • All new and existing tests are passing.

@clarkdo clarkdo requested review from pi0 and removed request for pi0 August 13, 2021 11:06
@clarkdo clarkdo marked this pull request as draft August 13, 2021 11:14
@pi0
Copy link
Member

pi0 commented Aug 13, 2021

Notes:

@clarkdo clarkdo marked this pull request as ready for review August 15, 2021 12:38
@codecov-commenter
Copy link

codecov-commenter commented Aug 15, 2021

Codecov Report

Base: 65.19% // Head: 66.55% // Increases project coverage by +1.35% 🎉

Coverage data is based on head (f1d7ddd) compared to base (9677fbe).
Patch coverage: 75.60% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #9671      +/-   ##
==========================================
+ Coverage   65.19%   66.55%   +1.35%     
==========================================
  Files          94       93       -1     
  Lines        4155     4075      -80     
  Branches     1172     1149      -23     
==========================================
+ Hits         2709     2712       +3     
+ Misses       1167     1103      -64     
+ Partials      279      260      -19     
Flag Coverage Δ
unittests 66.55% <75.60%> (+1.35%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
packages/config/src/config/build.js 100.00% <ø> (ø)
packages/config/src/options.js 95.21% <28.57%> (-1.92%) ⬇️
packages/webpack/src/utils/postcss.js 82.79% <83.87%> (-0.93%) ⬇️
packages/webpack/src/utils/style-loader.js 79.24% <100.00%> (+0.29%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@clarkdo clarkdo requested a review from pi0 August 15, 2021 12:48
@Saggitarie
Copy link

@pi0
Hey, thanks for your work on this!
Exactly what I was looking for.

When is this going to get merged? This works with configuring sugarss by setting the loader under postcssOptions property right?

@Saggitarie
Copy link

This is what I'm trying to do.

#9723

Trying to make postcss-loader read sugarss syntax so that I can use .sss extension inside nuxt app.

@pi0
Copy link
Member

pi0 commented Aug 30, 2021

@Saggitarie It will be released soon with nuxt-edge and 2.16 in the upcoming weeks. Meanwhile, you can use nuxt/postcss8 module.

@Saggitarie
Copy link

@Saggitarie It will be released soon with nuxt-edge and 2.16 in the upcoming weeks. Meanwhile, you can use nuxt/postcss8 module.

Is nuxt/postcss8 compatible with sugarss (.sss)?

@clarkdo
Copy link
Member Author

clarkdo commented Aug 30, 2021

Is nuxt/postcss8 compatible with sugarss (.sss)?

sugarss is a different parser and also new file extension, so you can set up the new webpack rule, what you need is:

  • Install sugarss to devDependencies
  • Add .sss rule and loaders
// nuxt.config
export default {
  build: {
    extend(config, { loaders }) {
      config.module.rules.push({
        test: /\.sss$/i,
        use: [
          { loader: 'vue-style-loader', options: loaders.vueStyle },
          { loader: 'css-loader', options: loaders.css },
          {
            loader: 'postcss-loader',
            options: {
              postcssOptions: { parser: 'sugarss' },
            },
          },
        ],
      });
    },
  },
};

@Saggitarie
Copy link

Is nuxt/postcss8 compatible with sugarss (.sss)?

sugarss is a different parser and also new file extension, so you can set up the new webpack rule, what you need is:

* Install sugarss to devDependencies

* Add .sss rule and loaders
// nuxt.config
export default {
  build: {
    extend(config, { loaders }) {
      config.module.rules.push({
        test: /\.sss$/i,
        use: [
          { loader: 'vue-style-loader', options: loaders.vueStyle },
          { loader: 'css-loader', options: loaders.css },
          {
            loader: 'postcss-loader',
            options: {
              postcssOptions: { parser: 'sugarss' },
            },
          },
        ],
      });
    },
  },
};

Hey thanks for the tips. Tried your way but I got

Syntax Error: SyntaxError friendly-errors 00:16:14
(39:2) Unknown word
37 |
38 | .api
39 | color: #FF0000

I'll dig for an issue on my side but it would be helpful if you have any idea on this.

@Saggitarie
Copy link

Is nuxt/postcss8 compatible with sugarss (.sss)?

sugarss is a different parser and also new file extension, so you can set up the new webpack rule, what you need is:

* Install sugarss to devDependencies

* Add .sss rule and loaders
// nuxt.config
export default {
  build: {
    extend(config, { loaders }) {
      config.module.rules.push({
        test: /\.sss$/i,
        use: [
          { loader: 'vue-style-loader', options: loaders.vueStyle },
          { loader: 'css-loader', options: loaders.css },
          {
            loader: 'postcss-loader',
            options: {
              postcssOptions: { parser: 'sugarss' },
            },
          },
        ],
      });
    },
  },
};

Hey thanks for the tips. Tried your way but I got

Syntax Error: SyntaxError friendly-errors 00:16:14
(39:2) Unknown word
37 |
38 | .api
39 | color: #FF0000

I'll dig for an issue on my side but it would be helpful if you have any idea on this.

Also, I set the PostCSS plugins under build.postcss.plugins in an object form.

@clarkdo
Copy link
Member Author

clarkdo commented Aug 30, 2021

Your requirement for sugarss is a totally new webpack rule, so the setup is independent of the original build.postcss, all the configs are just pure webpack config.

BTW, the code I commeted above is for postcss 8, so you can use nuxt/postcss8 module as Pooya mentioned.

@Saggitarie
Copy link

Saggitarie commented Aug 31, 2021

Your requirement for sugarss is a totally new webpack rule, so the setup is independent of the original build.postcss, all the configs are just pure webpack config.

BTW, the code I commeted above is for postcss 8, so you can use nuxt/postcss8 module as Pooya mentioned.

Thanks for your response. Hmm, so will this new feature and nuxt/postcss8 still need the external file (postcss.config.js) to set the plugins to postcss-loader?

@hacknug
Copy link
Contributor

hacknug commented Nov 23, 2021

  • Disable postcss-preset-env as it doesn't support postcss8

Not necessary anymore since support for PostCSS v8 was introduced in the recently released v7 of the plugin: https://github.com/csstools/postcss-preset-env/releases/tag/7.0.0

@loick
Copy link

loick commented Dec 27, 2021

Hi there, any news about this update? 🙏

@dargmuesli
Copy link
Member

dargmuesli commented Apr 15, 2022

The cssnano update for webpack included in this MR actually resolves a bug with tailwind classes not being generated (tailwindlabs/tailwindcss#7802), so I once again want to ask friendly what the status of this PR is :)

Edit: As this PR is not merged into dev yet, it is also not part of nuxt-edge it seems.

@Shooteger
Copy link

Whats the current state of this MR?

@dargmuesli
Copy link
Member

dargmuesli commented Nov 11, 2022

Nuxt 3 will be released in 5 days. After that, there might be time for maintainers to take care of this.

@danielroe danielroe added the 2.x label Jan 18, 2023
@danielroe danielroe mentioned this pull request Jan 20, 2023
@danielroe danielroe changed the title feat(webpack): update postcss to v8 feat(webpack)!: update postcss to v8 Feb 2, 2023
@danielroe danielroe merged commit 454a9af into 2.x Feb 2, 2023
@danielroe danielroe deleted the feat/postcss8 branch February 2, 2023 15:13
@danielroe danielroe mentioned this pull request Feb 2, 2023
weotch added a commit to BKWLD/cloak-boilerplate that referenced this pull request Feb 9, 2023
renovate bot added a commit to tomacheese/tomacheese.com that referenced this pull request Mar 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@nuxt/types](https://togithub.com/nuxt/nuxt.js) | [`2.15.8` ->
`2.16.3`](https://renovatebot.com/diffs/npm/@nuxt%2ftypes/2.15.8/2.16.3)
|
[![age](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/compatibility-slim/2.15.8)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/@nuxt%2ftypes/2.16.3/confidence-slim/2.15.8)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>nuxt/nuxt.js</summary>

### [`v2.16.3`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.3)

[Compare
Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.2...v2.16.3)

> **2.16.3** is a patch release with bug fixes.

#### 👉 Changelog

[compare
changes](https://togithub.com/nuxt/nuxt.js/compare/v2.16.2...2.16.3)

##### 🩹 Fixes

- **types:** Add return type for `error()`
([#&#8203;19044](https://togithub.com/nuxt/nuxt.js/pull/19044))
- **types:** Bring types from `less` into namespace
([#&#8203;19738](https://togithub.com/nuxt/nuxt.js/pull/19738))
- **types:** Sync vue type augmentations with Vue 2.7
([#&#8203;19526](https://togithub.com/nuxt/nuxt.js/pull/19526))
- **config:** Move `preset` to inner `postcssOptions`
([#&#8203;19518](https://togithub.com/nuxt/nuxt.js/pull/19518))
- **webpack:** Add `node-fetch-native` to externals list
([#&#8203;19755](https://togithub.com/nuxt/nuxt.js/pull/19755))

##### 🏡 Chore

- Release all packages with latest tag except `nuxt`
([4e9dcddcb](https://togithub.com/nuxt/nuxt.js/commit/4e9dcddcb))
- **examples:** Use `2.x` version of nuxt instead of latest
([#&#8203;19737](https://togithub.com/nuxt/nuxt.js/pull/19737))
- Lint package files
([6ca842e36](https://togithub.com/nuxt/nuxt.js/commit/6ca842e36))

##### ❤️  Contributors

-   Daniel Roe - [@&#8203;danielroe](https://togithub.com/danielroe)
-   Olga Bulat - [@&#8203;obulat](https://togithub.com/obulat)
-   Rafał Chłodnicki - [@&#8203;rchl](https://togithub.com/rchl)

### [`v2.16.2`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.2)

[Compare
Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.1...v2.16.2)

> **2.16.2** is a patch release with bug fixes.

#### ✨ Highlights

The main change in this patch release is that we now patch the `crypto`
node built-in during build to allow Nuxt 2 to be used on Node versions
greater than Node 16, which should ease the pressure users feel after
Node 16 reaches its own EOL this year.

> **Warning**
> This should not be taken for an endorsement of continuing to run with
Webpack 4, which is out of date and has a number of dependencies with
issues. I expect that number to continue to grow, and we will not be
able to resolve all of them. I would strongly urge migrating to Nuxt 3
if possible and the team will do our best to make this possible over the
course of the year ❤️

#### 👉 Changelog

[compare
changes](https://togithub.com/nuxt/nuxt/compare/v2.16.1...v2.16.2)

##### 🚀 Enhancements

- **types:** Add basic types for Nuxt interface
([#&#8203;9772](https://togithub.com/nuxt/nuxt.js/issues/9772))

##### 🩹 Fixes

- **vue-renderer:** Insert `charset` before `title`
([#&#8203;18998](https://togithub.com/nuxt/nuxt.js/issues/18998))
- **types:** Remove non-existent properties from context
([#&#8203;19021](https://togithub.com/nuxt/nuxt.js/issues/19021))
- Add minimum node 14.18 version constraint
([#&#8203;19112](https://togithub.com/nuxt/nuxt.js/issues/19112))
- **config:** Upgrade md4 -> md5 on node > 16
([#&#8203;19108](https://togithub.com/nuxt/nuxt.js/issues/19108))
- **vue-app:** Handle promise rejection from `asyncData`
([#&#8203;18585](https://togithub.com/nuxt/nuxt.js/issues/18585))

##### 🏡 Chore

- Update tag name
([`15787a2`](https://togithub.com/nuxt/nuxt.js/commit/15787a2e5))
- Fix version merge
([`49ea657`](https://togithub.com/nuxt/nuxt.js/commit/49ea657a4))
- Add `@types/jest`
([`d48efa6`](https://togithub.com/nuxt/nuxt.js/commit/d48efa6cf))

##### ❤️  Contributors

-   Rafał Chłodnicki ([@&#8203;rchl](http://github.com/rchl))
-   Daniel Roe ([@&#8203;danielroe ](https://togithub.com/danielroe/))
-   Pooya Parsa ([@&#8203;pi0](https://togithub.com/pi0))
-   Harlan Wilton ([@&#8203;harlan-zw](http://github.com/harlan-zw))

### [`v2.16.1`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.1)

[Compare
Source](https://togithub.com/nuxt/nuxt.js/compare/v2.16.0...v2.16.1)

> Nuxt 2.16.1 is a patch release with a couple of small bugfixes to last
week's 2.16.0 release.

#### v2.16.0...v2.16.1

##### 🩹 Fixes

- **deps:** Downgrade `@types` packages depending on webpack 5
([#&#8203;18827](https://togithub.com/nuxt/nuxt.js/issues/18827))
- **config:** Let webpack merge postcss plugins
([#&#8203;18839](https://togithub.com/nuxt/nuxt.js/issues/18839))
- **types:** Import `Location` from `vue-router`
([#&#8203;18908](https://togithub.com/nuxt/nuxt.js/issues/18908))

##### 🏡 Chore

- Tag 2.x releases appropriately
([`aba93e9`](https://togithub.com/nuxt/nuxt.js/commit/aba93e9a9))
- Revert node types to v16
([`3d034a3`](https://togithub.com/nuxt/nuxt.js/commit/3d034a30d))
- Remove stub type definitions
([`daed62a`](https://togithub.com/nuxt/nuxt.js/commit/daed62a73))

##### ❤️  Contributors

-   H-kishi
-   Daniel Roe <daniel@roe.dev>

### [`v2.16.0`](https://togithub.com/nuxt/nuxt/releases/tag/v2.16.0)

[Compare
Source](https://togithub.com/nuxt/nuxt.js/compare/v2.15.8...v2.16.0)

> Nuxt 2.16.0 is the first minor release since Feb 15, 2021. The focus
is mostly on releasing the latest fixes and enhancements that have been
present in `nuxt-edge` for some time.

#### ✨ Highlights

-   upgrade to [PostCSS 8](https://togithub.com/nuxt/nuxt/pull/9671)
-   default to [`core-js` v3](https://togithub.com/nuxt/nuxt/pull/9987)
-   ... full details below

#### ⚠️ Breaking changes

- **In this PR we only support Node 14+**. This is mostly an issue for
dependencies, which we need to keep updated for security reasons. Going
forward until [its own
EOL](https://nuxt.com/vision-2023#migrating-to-nuxt-3), Nuxt 2 will only
officially support Node versions that have not reached [their
EOL](https://togithub.com/nodejs/release#release-schedule).
- **New postcss options format**. See
[nuxt/nuxt#9671
for full details.
- **Dependency upgrades**. A number of dependencies have dropped support
for earlier node versions.
[`dotenv`](https://togithub.com/nuxt/nuxt/pull/18364) has changed how it
parses `.env` files in a number of edge cases.
[`glob`](https://togithub.com/nuxt/nuxt/pull/18370) now requires `/`
instead of `\` on windows machines. There may also be other changes that
affect your usage, so please do upgrade with care.
- **Vue 2.7 upgrade**. Although you can use Vue 2.7 with any release of
Nuxt 2, 2.16.0 for the first time includes it as a dependency, which
means that you may well encounter some issues associated with upgrading
Vue 2.6 -> Vue 2.7.

This may be a good time to consider using the composition API utilities
provided by https://github.com/nuxt/bridge instead, which mirror Nuxt
3's more precisely than `@nuxtjs/composition-api`. (You can opt-in to
*just* these utilities by disabling the other bridge modules
individually.)

#### Changelog

[compare
changes](https://togithub.com/nuxt/nuxt/compare/v2.15.8...v2.16.0)

##### 🚀 Enhancements

- **config:** Support `nuxtrc` in dist directory
([#&#8203;9280](https://togithub.com/nuxt/nuxt.js/issues/9280))
- **generator:** Add ignoreEnv generate option during ensureBuild(cmd)
([#&#8203;8955](https://togithub.com/nuxt/nuxt.js/issues/8955))
- **server:** Allow disabling `serve-static` middleware
([#&#8203;9365](https://togithub.com/nuxt/nuxt.js/issues/9365))
- **types:** Add `asyncData` return types to component instance type
([#&#8203;9239](https://togithub.com/nuxt/nuxt.js/issues/9239))
- **vue-app:** `context.beforeSerialize` method
([#&#8203;9332](https://togithub.com/nuxt/nuxt.js/issues/9332))
- **vue-app:** Pass `store` to `createRouter`
([#&#8203;9629](https://togithub.com/nuxt/nuxt.js/issues/9629))
- Default to `core-js` version 3
([#&#8203;9987](https://togithub.com/nuxt/nuxt.js/issues/9987))
- **webpack:** ⚠️ Update postcss to v8
([#&#8203;9671](https://togithub.com/nuxt/nuxt.js/issues/9671))

##### 🩹 Fixes

- **vue-app:** Respect `scroll-margin-top` when navigating with hash
([#&#8203;9187](https://togithub.com/nuxt/nuxt.js/issues/9187))
- **webpack:** Use `javascript/auto` for js rule
([#&#8203;9180](https://togithub.com/nuxt/nuxt.js/issues/9180))
- **server:** Unregister error event listener
([#&#8203;9245](https://togithub.com/nuxt/nuxt.js/issues/9245))
- **babel-preset-app:** Respect explicit options.targets for modern
preset ([#&#8203;9337](https://togithub.com/nuxt/nuxt.js/issues/9337))
- **types:** Add nuxt.config alias type
([#&#8203;9424](https://togithub.com/nuxt/nuxt.js/issues/9424))
- **vue-app:** Check whether route exists within nuxt app before
replacing
([#&#8203;9431](https://togithub.com/nuxt/nuxt.js/issues/9431))
- **vue-renderer:** Decode route path for `payload.js`
([#&#8203;9494](https://togithub.com/nuxt/nuxt.js/issues/9494))
- **vue-app:** Don't normalise route path if it's valid
([#&#8203;9460](https://togithub.com/nuxt/nuxt.js/issues/9460))
- **vue-app:** Redirect to external url replaces current history entry
([#&#8203;9500](https://togithub.com/nuxt/nuxt.js/issues/9500))
- **utils:** `trailingSlash` causes error with dynamic nuxt-child routes
([#&#8203;9505](https://togithub.com/nuxt/nuxt.js/issues/9505))
- **types:** Add `onNuxtLoaded` and `onNuxtReady` types
([#&#8203;9510](https://togithub.com/nuxt/nuxt.js/issues/9510))
- **vue-app:** Re-register components construtor in HMR
([#&#8203;9539](https://togithub.com/nuxt/nuxt.js/issues/9539))
- **types:** Add typing for `build.stats` options
([#&#8203;9555](https://togithub.com/nuxt/nuxt.js/issues/9555))
- **babel:** Loose option for babel private-property-in-object
([#&#8203;9631](https://togithub.com/nuxt/nuxt.js/issues/9631))
- **vue-app:** Serialize route meta to allow functions
([#&#8203;9634](https://togithub.com/nuxt/nuxt.js/issues/9634))
- **vue-app:** `null` check for `$root` access
([#&#8203;9150](https://togithub.com/nuxt/nuxt.js/issues/9150))
- **generator:** Allow passing `builder` to `getGenerator`
([#&#8203;9574](https://togithub.com/nuxt/nuxt.js/issues/9574))
- **generator:** Throw an error when Builder is missing
([#&#8203;9663](https://togithub.com/nuxt/nuxt.js/issues/9663))
- **vue-app:** Use correct `$config` for finding basePath
([#&#8203;9706](https://togithub.com/nuxt/nuxt.js/issues/9706))
- **vue-renderer:** Ensure custom build indicator preserves some
whitespace
([#&#8203;9705](https://togithub.com/nuxt/nuxt.js/issues/9705))
- 'npm run test' fails because the last command lacks 'yarn'
([#&#8203;9761](https://togithub.com/nuxt/nuxt.js/issues/9761))
- **generator:** Decode path with `ufo`
([#&#8203;9739](https://togithub.com/nuxt/nuxt.js/issues/9739))
- **cli:** Ensure nuxt instance is closed when skipping build
([`3e9d7e3`](https://togithub.com/nuxt/nuxt.js/commit/3e9d7e3e7))
- Nuxt-child-key in web-types.json
([#&#8203;9792](https://togithub.com/nuxt/nuxt.js/issues/9792))
- **types:** Return type of $fetch
([#&#8203;9854](https://togithub.com/nuxt/nuxt.js/issues/9854))
- **deps:** Update `ua-parser-js` to 1.x
([#&#8203;9979](https://togithub.com/nuxt/nuxt.js/issues/9979))
- **deps:** Update `ya-parser-js` to latest `0.7.x`
([#&#8203;9979](https://togithub.com/nuxt/nuxt.js/issues/9979))
- **vue-app:** Call ssrContext.unsetMutationObserver only if it exists
([#&#8203;10132](https://togithub.com/nuxt/nuxt.js/issues/10132))
- **webpack:** Allow files with `.cjs` extension to be transpiled
([#&#8203;10340](https://togithub.com/nuxt/nuxt.js/issues/10340))
- **vue-app:** Preview mode fetch
([#&#8203;10489](https://togithub.com/nuxt/nuxt.js/issues/10489))
- **webpack:** Resolve `.wasm` extension with lower priority
([#&#8203;10676](https://togithub.com/nuxt/nuxt.js/issues/10676))
- **vue-app:** Clear hide timeout when calling `clear()`
([#&#8203;10086](https://togithub.com/nuxt/nuxt.js/issues/10086))

##### 📦 Build

- Use 7 digit edge hashes
([`0501a42`](https://togithub.com/nuxt/nuxt.js/commit/0501a424b))
- Upgrade to rollup v3
([#&#8203;18686](https://togithub.com/nuxt/nuxt.js/issues/18686))

##### 🌊 Types

- Add `prefetchPayloads` to router options
([#&#8203;9715](https://togithub.com/nuxt/nuxt.js/issues/9715))

##### 🏡 Chore

- **release:** V2.15.6
([`a53fd32`](https://togithub.com/nuxt/nuxt.js/commit/a53fd32d6))
- **pkg:** Build for es2019 target
([#&#8203;9328](https://togithub.com/nuxt/nuxt.js/issues/9328))
- **types:** Add types for new `false` option for `render.static`
([#&#8203;9372](https://togithub.com/nuxt/nuxt.js/issues/9372))
- Update error tests
([`d4e5998`](https://togithub.com/nuxt/nuxt.js/commit/d4e5998f9))
- **test:** Revert jest and babel-jest to 26
([#&#8203;9377](https://togithub.com/nuxt/nuxt.js/issues/9377))
- Ignore audit 1754,1755
([`39f7859`](https://togithub.com/nuxt/nuxt.js/commit/39f785967))
- Fix vetur extension syntax for GitPod
([#&#8203;9572](https://togithub.com/nuxt/nuxt.js/issues/9572))
- Ignore globby > 12 upgrade as needs native esm
([`e0968a3`](https://togithub.com/nuxt/nuxt.js/commit/e0968a3ad))
- Update rollup plugins
([`5614399`](https://togithub.com/nuxt/nuxt.js/commit/5614399b4))
- Fix code formatting
([`17bbb21`](https://togithub.com/nuxt/nuxt.js/commit/17bbb21b5))
- **utils:** Improve `stripWhitespace` utility
([#&#8203;9668](https://togithub.com/nuxt/nuxt.js/issues/9668))
- Update license year to present
([#&#8203;9682](https://togithub.com/nuxt/nuxt.js/issues/9682))
- Add separate file with security disclosure info
([#&#8203;9738](https://togithub.com/nuxt/nuxt.js/issues/9738))
- Update logo
([#&#8203;9796](https://togithub.com/nuxt/nuxt.js/issues/9796))
- **doc:** Fix link to contribution guide
([#&#8203;9815](https://togithub.com/nuxt/nuxt.js/issues/9815))
- **test:** Fix external redirect link
([#&#8203;9816](https://togithub.com/nuxt/nuxt.js/issues/9816))
- Update funding.yml
([`1f85137`](https://togithub.com/nuxt/nuxt.js/commit/1f8513720))
- Update lockfile
([`7614360`](https://togithub.com/nuxt/nuxt.js/commit/76143601f))
- Update audit list
([`6f73c36`](https://togithub.com/nuxt/nuxt.js/commit/6f73c36ae))
- Update lockfile and audit
([`1878b26`](https://togithub.com/nuxt/nuxt.js/commit/1878b26f9))
- Update issue template with nuxt 3
([#&#8203;9948](https://togithub.com/nuxt/nuxt.js/issues/9948))
- Enable blank issues
([`54542c1`](https://togithub.com/nuxt/nuxt.js/commit/54542c1b0))
- **radme:** Fix browserstack and saucelabs icons
([#&#8203;10068](https://togithub.com/nuxt/nuxt.js/issues/10068))
- Update dependencies
([#&#8203;10510](https://togithub.com/nuxt/nuxt.js/issues/10510))
- Update repo
([`773d292`](https://togithub.com/nuxt/nuxt.js/commit/773d292b5))
- Ignore vue and vuex major updates
([`bafc814`](https://togithub.com/nuxt/nuxt.js/commit/bafc814ef))
- Update README.md
([#&#8203;10831](https://togithub.com/nuxt/nuxt.js/issues/10831))
- Update pull request template
([`0db7e7b`](https://togithub.com/nuxt/nuxt.js/commit/0db7e7b39))
- Update issue templates
([`f36fb9c`](https://togithub.com/nuxt/nuxt.js/commit/f36fb9cd0))
- Rename 2.x bug template
([`ba966cf`](https://togithub.com/nuxt/nuxt.js/commit/ba966cf9e))
- Move nuxt 2 report to bottom
([`ce7b1a9`](https://togithub.com/nuxt/nuxt.js/commit/ce7b1a939))
- Bump `ua-parser-js` version
([`1cedad5`](https://togithub.com/nuxt/nuxt.js/commit/1cedad5fc))
- Bump test/dev dependencies
([#&#8203;18672](https://togithub.com/nuxt/nuxt.js/issues/18672))
- Upgrade unjs dependencies
([#&#8203;18670](https://togithub.com/nuxt/nuxt.js/issues/18670))
- Use named export from `defu`
([#&#8203;18679](https://togithub.com/nuxt/nuxt.js/issues/18679))

##### ✅ Tests

- Update async size test
([`23e2018`](https://togithub.com/nuxt/nuxt.js/commit/23e2018a1))
- Update size limit tests
([`4f11d3c`](https://togithub.com/nuxt/nuxt.js/commit/4f11d3c1a))

##### 🤖 CI

- Update test branch condition
([`331a2d7`](https://togithub.com/nuxt/nuxt.js/commit/331a2d724))
- Update workflows
([`9677fbe`](https://togithub.com/nuxt/nuxt.js/commit/9677fbe53))

##### ⚠️  Breaking Changes

- **webpack:** ⚠️ Update postcss to v8
([#&#8203;9671](https://togithub.com/nuxt/nuxt.js/issues/9671))

##### ❤️  Contributors

-   Xin Du (Clark) <clark.duxin@gmail.com>
-   Daniel Roe <daniel@roe.dev>
-   Arik
-   Bot08
-   Pooya Parsa <pooya@pi0.io>
-   Yuyao Nie <nieyuyao0826@&#8203;hotmail.com>
-   Sébastien Chopin <seb@nuxtjs.com>
-   Clément Ollivier <clement.o2p@gmail.com>
-   Michiel Doesburg
-   Rafał Chłodnicki <rchl2k@gmail.com>
-   Abdfn
-   K-utsumi
-   Matteo Rigon <matteo.rigon7@&#8203;gmail.com>
-   Mehmet
-   Thibault Vlacich <thibault.vlacich@gmail.com>
-   Jon-ht <jonathan.huteau15@&#8203;gmail.com>
-   Ahmadou Waly NDIAYE <ahmadouwalyndiaye@gmail.com>
-   Daniil Okhlopkov
-   Aewshyae
-   Michał Kędrzyński <kedrzu@gmail.com>
-   Mrazauskas
-   Loick Le Digabel <loick.ledigabel@gmail.com>
-   Payel Karmakar
-   SlayerOfTheBad
-   Ofer Shaal <ofer@3paces.com>
-   Mohammad Saleh Fadaei
-   Andrew Luca <thendrluca@gmail.com>
-   David Ovčačík <david.ovcacik@gmail.com>
-   Carbotaniuman
-   William L'Archeveque <william.larcheveque@gmail.com>
-   Matthieu Sieben

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/tomacheese/tomacheese.com).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xMTkuNSIsInVwZGF0ZWRJblZlciI6IjM1LjkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants