let VueLoader = require('vue-loader'), ExtractTextPlugin = require('extract-text-webpack-plugin');

module.exports = {
    entry: {
        main: './app/main.js'
    },
    output: {
        path: path.join(__dirname, 'dist'),
        filename: '[name].bundle.js',
        publicPath: './dist/'
    },
    module: {
        loaders: [
            {
                test: /\.vue$/,
                loader: VueLoader.withLoaders({
                    sass:  ExtractTextPlugin.extract('css!sass')
                })
            },
            {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel',
                query: {
                    presets: ['es2015']
                }
            },
	    {
                test: /\.css$/,
                loader: ExtractTextPlugin.extract('style-loader', 'css-loader')
            },
	    {
                test: /\.(jpeg|jpg|png|svg)$/,
                loader: 'url?limit=8192'
            },
            {
                test: /\.scss$/,
                loader: 'style!css!sass'
            }
        ]
    },
    plugins: {
        new ExtractTextPlugin('style.css')
    }
};

@@ -1,8 +1,39 @@
+const path = require('path');%0A%0A
 let VueL
@@ -1128,24 +1128,86 @@
    %5D%0A    %7D,%0A
+    resolve: %7B%0A        extensions: %5B'', '.js', '.vue'%5D%0A    %7D,%0A
     plugins:
@@ -1245,16 +1245,17 @@
 n('style
+s
 .css')%0A 

Update webapck.config.js