Closed
Description
Version
13.5.0
Reproduction link
https://github.com/dunkfordyce/custom-block-es6
Steps to reproduce
Run the sample repo as usual. The custom block foo
has a loader build/foo-loader.js. The code exports a default function to modify the Component. Because the code is ES6 the function is never run as the loader does not check for an ES6 module, it sees an object instead of a function.
What is expected?
The default exported function should be run.
What is actually happening?
The vue-loader code sees an object instead of a function.
Metadata
Metadata
Assignees
Labels
No labels