Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 510 Bytes
var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './src/DataTable.vue',
output: {
path: path.resolve(__dirname, './dist'),
filename: 'vue-datatable.js'
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel',
exclude: /node_modules/,
include: [path.resolve(__dirname, './src')]
},
{ test: /\.vue$/, loader: 'vue'}
]
},
vue: {
loaders: {
scss: "vue-style!css!sass"
}
},
}