Skip to content

how to extract SCSS in components into a single CSS file #4281

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

Closed
SoldierAb opened this issue Jul 12, 2019 · 4 comments
Closed

how to extract SCSS in components into a single CSS file #4281

SoldierAb opened this issue Jul 12, 2019 · 4 comments

Comments

@SoldierAb
Copy link

Version

3.8.0

Reproduction link

none

Environment info

 "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
 "dependencies": {
    "vue": "^2.6.10",
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.8.0",
    "@vue/cli-plugin-eslint": "^3.8.0",
    "@vue/cli-service": "^3.8.0",
    "babel-eslint": "^10.0.1",
    "eslint": "^5.16.0",
    "eslint-plugin-vue": "^5.0.0",
    "extract-text-webpack-plugin": "^4.0.0-beta.0",
    "node-sass": "^4.12.0",
    "sass-loader": "^7.1.0",
    "style-loader": "^0.23.1",
    "webpack-dev-server": "^2.9.7"
  },

Steps to reproduce

npm run build

What is expected?

extract SCSS in components into a single CSS file

What is actually happening?

... ...

@LinusBorg
Copy link
Member

That already works.

If it doesn't work for you l, provide a reproduction as is required for bug reports.

@Mighty683
Copy link

Mighty683 commented Aug 7, 2019

I have the same problem css files from chunks are extracted into multiple files instead of one.

@LinusBorg
Copy link
Member

See my previous reply

@Mighty683
Copy link

#4409

Created issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants