Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Commit

Permalink
chore: Upgrade @vue/component-compiler & @vue/component-compiler-utils
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `@vue/[email protected]` uses `sass` instead of `node-sass`
  • Loading branch information
znck committed Apr 11, 2019
1 parent 0b74c4a commit e215fe7
Show file tree
Hide file tree
Showing 3 changed files with 144 additions and 241 deletions.
2 changes: 1 addition & 1 deletion docs/faqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- **Error: Cannot find module `vue-template-compiler`?**
`vue-template-compiler` has a constraint that it should be exact same version as `vue` that is why it is included as peer dependency. Make sure you install `vue-template-compiler` and `vue` in your project.

- **Error: Cannot find module `less` or `node-sass` or `stylus`?**
- **Error: Cannot find module `less` or `sass` or `stylus`?**
If you're using any of the style languages (other than css) supported in `.vue` file, you have to install that language's compiler.

- **Error: 'default' is not exported by node_modules/vue-runtime-helpers/dist/normalize-component.js**
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"dist/"
],
"dependencies": {
"@vue/component-compiler": "^3.6",
"@vue/component-compiler-utils": "^2.1.0",
"@vue/component-compiler": "^4.0.0",
"@vue/component-compiler-utils": "^3.0.0",
"debug": "^4.1.1",
"hash-sum": "^1.0.2",
"magic-string": "^0.25.2",
Expand All @@ -71,7 +71,7 @@
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"conventional-changelog": "^3.0.5",
"jest": "^23.6.0",
"node-sass": "^4.9.0",
"sass": "^1.18.0",
"postcss": "^7.0.11",
"postcss-assets": "^5.0.0",
"prettier": "^1.12.1",
Expand Down
Loading

0 comments on commit e215fe7

Please sign in to comment.