Cleanup and file reorganization

This commit is contained in:
Tom Raithel
2017-02-20 19:33:39 +01:00
parent 6cfd53a47a
commit 9f33c7a8ca
30 changed files with 176 additions and 446 deletions

View File

@@ -2,23 +2,18 @@ var path = require('path');
module.exports = {
entry: {
bundle: './js/radar.js',
bundle: './js/client.js',
},
output: {
path: path.join(__dirname, 'dist'),
filename: '[name].js',
},
resolve: {
alias: {
'vue$': 'vue/dist/vue.common.js'
}
},
module: {
rules: [
{
test: /\.js?$/,
include: [
path.resolve(__dirname, "js")
path.resolve(__dirname, "js"),
],
loader: "babel-loader",