@ -217,8 +217,7 @@ export function mergeProps () {
}
function isValidElement (element) {
const name = element.constructor.name
return element && element.context && element.context._isVue
return element.tag && (name === 'VNode' || name === 'VueComponent')
export {
@ -12,7 +12,6 @@ const modulePlugin = new ExtractTextPlugin({
})
module.exports = merge(baseWebpackConfig, {
devtool: '#source-map',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: './',