Renamed /src to /frontend.

This commit is contained in:
2020-12-06 21:48:21 +01:00
parent 913268b01c
commit ce7e05fd43
57 changed files with 8 additions and 8 deletions

View File

@@ -12,11 +12,11 @@ const webpackConfig = function(isDev) {
extensions: [".js", ".vue"],
alias: {
vue$: isDev ? "vue/dist/vue.min.js" : "vue/dist/vue.min.js",
"@": helpers.root("src")
"@": helpers.root("frontend")
}
},
entry: {
vinlottis: helpers.root("src", "vinlottis-init")
vinlottis: helpers.root("frontend", "vinlottis-init")
},
externals: {
moment: 'moment' // comes with chart.js
@@ -40,7 +40,7 @@ const webpackConfig = function(isDev) {
{
test: /\.js$/,
use: [ "babel-loader" ],
include: [helpers.root("src")]
include: [helpers.root("frontend")]
},
{
test: /\.css$/,