module.exports = function myVueLoader() {

    return () => ({

        module: {
            rules: [ {
                test: /\.vue$/,
                loader: 'vue-loader'
            } ]
        },

        resolve: {
            alias: {
                'vue$': 'vue/dist/vue.common.js'
            }
        }

    })

}

module.exports = function myVueLoader() {

    return () => ({

        module: {
            loaders: [ {
                test: /\.vue$/,
                loader: 'vue-loader'
            } ]
        },

        resolve: {
            alias: {
                'vue$': 'vue/dist/vue.common.js'
            }
        }

    })

}

Fix production build (use old webpack config syntax because webpack blocks)
Fix production build (use old webpack config syntax because webpack blocks)
