Skip to content

vue-loader 17 compatibility with vue 2 #1919

Closed
@abea

Description

@abea

I'm attempting to bump from v15 to v17 on a Vue 2 project. I updated the require statement but get the error Error: Cannot find module 'vue/compiler-sfc' when running the build. I see some places there is a try catch to fall back to '@vue/compiler-sfc' when installed, but vue/compiler-sfc is still used elsewhere, which I understand is coming from Vue 3.

Is there a way I'm not seeing to use v17 with Vue 2? 15 is flagged by npm audit, blocking our normal CI flow.

Metadata

Metadata

Assignees

No one assigned

    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