New v-deep selector is not working in production build
Version
3.0.2
Steps to reproduce
- Create a random single file vue component and use v-deep selector:
::v-deep(.selector) {
color: red;
}
- run
npm run serve
- See it works
- Run
npm run build
- Selector is not working
What is expected?
new syntax of v-deep works correctly
What is actually happening?
new syntax of v-deep doesn't work correctly
Don't open issues without reproduction. Thanks. You can use https://github.com/vitejs/vite. I imagine you read the existing RFC as well: https://github.com/vuejs/rfcs/blob/scoped-styles-changes/active-rfcs/0023-scoped-styles-changes.md