Skip to content

Commit 726d12f

Browse files
crisbetommalerba
authored andcommitted
build: datepicker examples not working locally (#23039)
Fixes that the datepicker live examples didn't load locally, because there were some 404s for the Moment locale files. (cherry picked from commit 14559e6)
1 parent 1193972 commit 726d12f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/system-config-tmpl.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ var nodeModulesPath = '$NODE_MODULES_BASE_PATH';
3131
var pathMapping = {
3232
'tslib': 'node:tslib/tslib.js',
3333
'moment': 'node:moment/min/moment-with-locales.min.js',
34+
'moment/locale': 'node:moment/locale',
3435
'kagekiri': 'node:kagekiri/dist/kagekiri.umd.min.js',
3536

3637
'rxjs': 'node:rxjs/bundles/rxjs.umd.min.js',

0 commit comments

Comments
 (0)