Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

How to run Autoprefixer on styles? #19

Description

@breadadams

I can't get Autoprefixer to run on the scss in a project using this Parcel plugin.

It doesn't seem to be working doing a regular @import 'path/to/style.scss' nor in single file components' <style scoped lang="scss">...</style>. I have the following config:

.postcssrc

{
  "plugins": {
    "autoprefixer": true
  }
}

.browserlistrc

last 4 versions

dependencies

  "devDependencies": {
    "babel-plugin-module-resolver": "^3.0.0",
    "babel-preset-env": "^1.6.1",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-vue": "^2.0.0",
    "css-loader": "^0.28.9",
    "node-sass": "^4.7.2",
    "parcel-bundler": "^1.4.1",
    "parcel-plugin-vue": "^1.5.0",
    "postcss-modules": "^1.1.0",
    "postcss-scss": "^1.0.3",
    "vue-template-compiler": "^2.5.13"
  },
  "dependencies": {
    "autoprefixer": "^7.2.5",
    "bootstrap-sass": "^3.3.7",
    "inline-style-prefixer": "^4.0.0",
    "lodash": "^4.17.4",
    "vue": "^2.5.13",
    "vue-outside-events": "^1.1.0",
    "vue-router": "^3.0.1",
    "vuex": "^3.0.1"
  }

Not sure if I'm missing some config? Autoprefixer worked when I was using Parcel without Vue, hence why I've opened the issue here. My apologies if this is an issue with another library.

Software Version(s)
parcel-plugin-vue ^1.5.0
Parcel ^1.4.1
Vue ^2.5.13
Node 8.1.2
npm/Yarn 1.3.2 (Yarn)
Operating System MacOs Sierra (10.12.6)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions