Created
January 26, 2017 17:49
-
-
Save rhyek/edbe9ae9519fd496f56fcd79874fa5b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path'); | |
module.exports = { | |
devtool: 'source-map', | |
resolve: { | |
extensions: ['.js', '.vue'], | |
modules: [ | |
path.resolve('./resources/assets/js'), | |
path.resolve('./node_modules') | |
] | |
}, | |
module: { | |
loaders: [ | |
{ | |
test: /\.js$/, | |
exclude: /(node_modules|bower_components)/, | |
loader: 'babel-loader' | |
}, | |
{ | |
test: /\.css$/, | |
loader:'style!css!' | |
} | |
] | |
}, | |
vue: { | |
loaders: { | |
js: 'babel-loader', | |
scss: 'vue-style-loader!css-loader!sass-loader' | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment