added vertical mode and optimised layout for mobile

This commit is contained in:
Daniel Ledda
2021-10-19 18:57:36 +02:00
parent 342e65345d
commit f3851f32cd
20 changed files with 280 additions and 8593 deletions

View File

@@ -25,18 +25,20 @@ const webpackConfig = {
}, {
loader: "css-loader",
options: {
url: true,
sourceMap: true
}
}]
},
{
test: /\.(png|jpe?g|gif|ttf|woff2?|eot|svg)$/i,
use: [
{
loader: "file-loader",
},
],
}]
// {
// test: /\.(png|jpe?g|gif|ttf|woff2?|eot|svg)$/i,
// use: [
// {
// loader: "file-loader",
// },
// ],
// }
]
},
resolve: {
@@ -45,13 +47,14 @@ const webpackConfig = {
output: {
filename: "bundle.js",
publicPath: "/static",
publicPath: "/static/",
path: path.resolve(__dirname, "./public/static/"),
},
devServer: {
static: {
directory: path.join(__dirname, "./public"),
publicPath: "/",
},
hot: true,
compress: true,