Vue-loader: The `-webkit-box-orient` can not be transformed

Created on 27 Mar 2017  路  4Comments  路  Source: vuejs/vue-loader

I know the property is only for webkit, but I still try to use it, like the Weird WebKit Flexbox Way.

Even though I use the latest version: [email protected], the special property is not be transformed.

The sass-loader or style-loader can transform it.

need repro

All 4 comments

Hello @imjeen,,

thank you for your filing this issue.

Please follow the guidelines on how to report an issue. In particular, provide an example on www.jsfiddle.net (or a similar service) that reproduces the problem. If necessary, create a repository for us to clone with a minimal reproduction. repositories of actual projects will generally not be accepted. (Why is this necessary?)

Thank you.

I guess postcss cause this problem, you can try to config postcss option in vue-loader.conf.js like this. It works for me.

  postcss: [
    require('autoprefixer')({
      remove: false,
      browsers: ['last 2 versions']
    })
  ]

Closing because of inactivity

the -webkit-box-orient: vertical; rule is removed every time. Is there some way to /* ignore rule*/ that will say to the sass-loader that the rule needs to be untouched?

Was this page helpful?
0 / 5 - 0 ratings