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

vue-loader v15版本打包时在::v-deep { ... } 中写多行注释时webpack5编译时会报 Module build failed (from . /node modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js):; TypeError: Cannot read properties of undefined (reading 'spaces") at /users/xxx/xxx/example.scss:15:1错误 #2043

Open
JacksonGao188 opened this issue May 16, 2023 · 0 comments

Comments

@JacksonGao188
Copy link

// for example, file name is demo.scss
::v-deep {
/* 多行注释 */
.some-class-name {
color: red;
}
}
当你将这个多行注释改为单行注释则编译通过不报错

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

1 participant