Closed stomvi closed 6 years ago
For now, I just modify the yarn.lock file to force postcss-cssnext
to use autoprefixer@8.2.0
. If you are using npm, you can use shrinkwrap.
Possibly resolved by #445
postcss-cssnext
has been deprecated in favor of postcss-preset-env
. Read more at https://moox.io/blog/deprecating-cssnext/
I am using nuxt-community express-template with
bootstrap@4.0.0
. I updated the nuxt version of the express-template tonuxt 1.4.0
which depends onpostcss-cssnext@3.1.0
. Somehowautoprefixer@^7.1.1
that the latestpostcss-cssnext
is using may have a bug withbrowserslist@^2.2.2
. They does not support one of the query defined in thebrowserslist
of bootstrap:An error occurs during nuxt build:
Remove the
last 1 major version
frompackage.json
of bootstrap works. Update theautoprefixer
inpostcss-cssnext
to the latest version also works. I guess the problem is between theautoprefixer
andbrowserslist
that the later one does not recognize the query.autoprefixer
has to be updated to the newer version to make this work.