Skip to content

Changing compilerOptions directives in vue.config.js not working in 2.7 when building #12828

Closed
@tunnelpuzzle

Description

@tunnelpuzzle

Version

2.7.12

Reproduction link

github.com

Steps to reproduce

  1. Clone the minimal reproduction repo and do npm run build. The code in vue.config.js: https://github.com/tunnelpuzzle/vue-compiler-directive/blob/master/vue.config.js#L11-L12 for the v-show directive won't be run.

  2. Switch to Vue 2.6 npm i [email protected] [email protected] and then do npm run build. The code to for the v-show directive is run.

What is expected?

Changing the compilerOptions directives should work in Vue 2.7 when building.

What is actually happening?

Changing the compilerOptions directives when building works in Vue 2.6 but not Vue 2.7


I looked in the release notes but couldn't find anything about this behavior changing in 2.7.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions