Fix the migration guide.

This commit is contained in:
Frederico Maia Arantes
2022-03-18 10:55:14 -03:00
parent 560707824a
commit d88520469f

View File

@@ -10,10 +10,10 @@ The above being said, there are a few items that you should do to have the lates
<h3 id="new-css-minifier">Update meteor-node-stubs</h3>
As we added support for [node:](https://nodejs.org/api/esm.html#node-imports) imports, you need to
update `meteor-node-stubs` to its latest version:
update `meteor-node-stubs` to version `1.2.1`:
```bash
meteor npm install meteor-node-stubs@latest
meteor npm install meteor-node-stubs@1.2.1
```
<h3 id="new-css-minifier">Support for PostCSS</h3>
@@ -27,7 +27,7 @@ meteor add standard-minifier-css
There are two differences with `juliancwirko:postcss`:
- The `excludePackages` PostCSS option was renamed to `excludeMeteorPackages`
- The `excludedPackages` PostCSS option was renamed to `excludedMeteorPackages`
- Files with the `.import.css` extension are not treated specially
> Note: In beta.1 of Meteor 2.7 we had added a new core package `minifier-css-postcss` but later decided to unify everything inside `standard-minifier-css`. So you shouldn't use `minifier-css-postcss`.