Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ExtractTextPlugin = require("extract-text-webpack-plugin");
- module.exports = {
- entry: './src/main.js',
- output: {
- filename: 'dist/bundle.js'
- },
- resolve: {
- alias: {
- vue: 'vue/dist/vue.js',
- vueRouter: 'vue-router/dist/vue.js'
- }
- },
- module: {
- loaders: [
- {
- test: /\.css$/,
- loader: ExtractTextPlugin.extract("style-loader", "css-loader")
- },
- ]
- },
- plugins: [
- new ExtractTextPlugin("[name].css")
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement