From 8771153fe84ad478e7ebed78169fc8295c93df52 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Tue, 22 Jun 2021 17:09:38 +0200 Subject: [PATCH] build: datepicker examples not working locally Fixes that the datepicker live examples didn't load locally, because there were some 404s for the Moment locale files. --- tools/system-config-tmpl.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/system-config-tmpl.js b/tools/system-config-tmpl.js index cf791acaaa68..01788aa15709 100644 --- a/tools/system-config-tmpl.js +++ b/tools/system-config-tmpl.js @@ -31,6 +31,7 @@ var nodeModulesPath = '$NODE_MODULES_BASE_PATH'; var pathMapping = { 'tslib': 'node:tslib/tslib.js', 'moment': 'node:moment/min/moment-with-locales.min.js', + 'moment/locale': 'node:moment/locale', 'kagekiri': 'node:kagekiri/dist/kagekiri.umd.min.js', 'rxjs': 'node:rxjs/bundles/rxjs.umd.min.js',