mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Increase max js / css asset size in webpack.config.js
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -48,8 +48,8 @@ const config = {
|
||||
},
|
||||
performance: {
|
||||
hints: isDev ? false : "error",
|
||||
maxEntrypointSize: 1512000,
|
||||
maxAssetSize: 1512000,
|
||||
maxEntrypointSize: 2000000,
|
||||
maxAssetSize: 2000000,
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
|
||||
Reference in New Issue
Block a user