Skip to content
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

"css.requireModuleExtension" is not allowed #6607

Closed
lisiyizu opened this issue Jul 28, 2021 · 1 comment
Closed

"css.requireModuleExtension" is not allowed #6607

lisiyizu opened this issue Jul 28, 2021 · 1 comment

Comments

@lisiyizu
Copy link

lisiyizu commented Jul 28, 2021

Version

5.0.0-beta.2

Environment info

"devDependencies": {
    "@babel/core": "^7.12.16",
    "@babel/eslint-parser": "^7.12.16",
    "@vue/cli-plugin-babel": "~5.0.0-beta.2",
    "@vue/cli-plugin-eslint": "~5.0.0-beta.2",
    "@vue/cli-service": "~5.0.0-beta.2",
    "babel-eslint": "^10.1.0",
    "eslint": "^7.24.0",
    "eslint-plugin-vue": "^7.6.0",
    "external-remotes-plugin": "^1.0.0",
    "node-sass": "^6.0.1",
    "path-browserify": "^1.0.1",
    "sass-loader": "^12.1.0",
    "vue": "2.5.17",
    "vue-template-compiler": "2.5.17",
    "webpack": "^5.47.0"
  },

Steps to reproduce

// vue.config.js
module.exports = {
  css: {
    requireModuleExtension: false
  }
}

image

@haoqunjiang
Copy link
Member

https://next.cli.vuejs.org/migrations/migrate-from-v4.html#vue-cli-service

The css.requireModuleExtension option is removed. If you do need to strip the .module part in CSS Module file names, please refer to Working with CSS > CSS Modules for more guidance.

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

2 participants