Fix type issue, don't generate sourcemaps on build

This commit is contained in:
rijkvanzanten
2020-07-31 19:06:33 -04:00
parent 67b03f52b6
commit fd357a8d74
2 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ export interface CollectionRaw {
translation: Translation[] | null;
display_template: string | null;
} | null;
database: Record<string, any>:
database: Record<string, any>;
}
export interface Collection extends CollectionRaw {

View File

@@ -38,4 +38,6 @@ module.exports = {
config.output.filename('[name].[hash].js').end();
}
},
productionSourceMap: false
};