Closed
Description
Version
14.1.0
Reproduction link
https://gist.github.com/bendytree/ea50ef622936f38169a17f252c70b775
Steps to reproduce
require
a *.vue
file with esModule: false
What is expected?
The component should be available at:
const component = require("./component.vue");
What is actually happening?
The component is available at:
const component = require("./component.vue").default;
Looks like esModule
became true by default in v13.
In v14 it was removed from the code base.
The docs still show it as an option.
Metadata
Metadata
Assignees
Labels
No labels