mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Fix type issue, don't generate sourcemaps on build
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -38,4 +38,6 @@ module.exports = {
|
||||
config.output.filename('[name].[hash].js').end();
|
||||
}
|
||||
},
|
||||
|
||||
productionSourceMap: false
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user