Vue-loader: Scoped has no effect

Created on 23 May 2020  路  3Comments  路  Source: vuejs/vue-loader

Version

16.0.0-beta.2

Reproduction link

https://github.com/frangio/vue-next-example

Steps to reproduce

Run npm run build and look at dist/main.css.

What is expected?

The .title style block should be scoped.

What is actually happening?

It has no scope, as if it had been just copied from the source file.

bug

Most helpful comment

Considering it's quite a serious bug. I've released v16.0.0-beta.3 to address it. Tests will be added later in the day.

All 3 comments

Same issue:
image

Got it. It's due to the wrong export in pitcher.ts. Will fix it tomorrow soon.

Considering it's quite a serious bug. I've released v16.0.0-beta.3 to address it. Tests will be added later in the day.

Was this page helpful?
0 / 5 - 0 ratings