Closed
Description
Getting "named exports are not supported in *.vue files."
error using newest version of vue-loader
We are using The rewire babel plugin which is causing this line to fail within vue-loader
. The issue seems to be that the check within vue-loader
is looking for any properties other than the default
and __esModule
property. Rewire inserts some extra "private" properties on the component:
A proposed fix would be to check for any "non-private" properties, while still allowing objects with properties prefixed with __
to pass this check not log an error. This may or may not be considered the responsibility of the vue-loader
project but if it is, let me know and I'd be happy to make a PR
Metadata
Metadata
Assignees
Labels
No labels