babel-plugin-component
babel-plugin-component copied to clipboard
path.hub is undefined
In src/core.js, you do const { file } = path.hub, in my situation, the path.hub may be undefined, so that webpack throw errors. I didn't find any document about what the keys of path stands for, such as hub, data and so on. I'm trying to find out the reason and need help.
+1
The same.
Cannot read property 'file' of undefined
['component', [{ libraryName: 'element-ui', styleLibraryName: 'theme-default' }]]