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

Commit e215fe7

Browse files
committed
chore: Upgrade @vue/component-compiler & @vue/component-compiler-utils
BREAKING CHANGE: `@vue/component-compiler-utils@3.0.0` uses `sass` instead of `node-sass`
1 parent 0b74c4a commit e215fe7

File tree

3 files changed

+144
-241
lines changed

3 files changed

+144
-241
lines changed

docs/faqs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- **Error: Cannot find module `vue-template-compiler`?**
77
`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.
88

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

1212
- **Error: 'default' is not exported by node_modules/vue-runtime-helpers/dist/normalize-component.js**

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
"dist/"
4646
],
4747
"dependencies": {
48-
"@vue/component-compiler": "^3.6",
49-
"@vue/component-compiler-utils": "^2.1.0",
48+
"@vue/component-compiler": "^4.0.0",
49+
"@vue/component-compiler-utils": "^3.0.0",
5050
"debug": "^4.1.1",
5151
"hash-sum": "^1.0.2",
5252
"magic-string": "^0.25.2",
@@ -71,7 +71,7 @@
7171
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
7272
"conventional-changelog": "^3.0.5",
7373
"jest": "^23.6.0",
74-
"node-sass": "^4.9.0",
74+
"sass": "^1.18.0",
7575
"postcss": "^7.0.11",
7676
"postcss-assets": "^5.0.0",
7777
"prettier": "^1.12.1",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy