Increase max js / css asset size in webpack.config.js

This commit is contained in:
Michael Mayer
2019-06-07 00:54:15 +02:00
parent 9ead0ceef9
commit ec0eb4d59c
2 changed files with 4 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
import Abstract from "model/abstract";
import Api from "common/api";
import truncate from "truncate";
import moment from "moment-timezone";
import moment from "moment";
class Photo extends Abstract {
getEntityName() {
@@ -91,9 +91,7 @@ class Photo extends Abstract {
}
getDateString() {
let m = moment(this.TakenAt).tz(this.TimeZone);
return m.format('LLL');
return moment(this.TakenAt).format('LLL');
}
hasLocation() {

View File

@@ -48,8 +48,8 @@ const config = {
},
performance: {
hints: isDev ? false : "error",
maxEntrypointSize: 1512000,
maxAssetSize: 1512000,
maxEntrypointSize: 2000000,
maxAssetSize: 2000000,
},
module: {
rules: [