Skip to content

Commit

Permalink
fix: 🐛 Remove deep import from date-fns-tz/esm.
Browse files Browse the repository at this point in the history
  • Loading branch information
sapozhnikovay committed May 30, 2021
1 parent b855a0b commit 361aec0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-mat-datefns-date-adapter",
"version": "11.2.0",
"version": "11.2.1",
"scripts": {
"start": "ng serve",
"build": "ng-packagr -p ./projects/ngx-mat-datefns-date-adapter/ng-package.json && cp README.md LICENSE dist/ngx-mat-datefns-date-adapter",
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-mat-datefns-date-adapter/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"umdModuleIds": {
"date-fns": "dateFns",
"date-fns/esm/locale": "locales",
"date-fns-tz/esm": "date-fns-tz"
"date-fns-tz": "date-fns-tz"
}
}
}
2 changes: 1 addition & 1 deletion projects/ngx-mat-datefns-date-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-mat-datefns-date-adapter",
"version": "11.2.0",
"version": "11.2.1",
"description": "",
"author": "Alexey Sapozhnikov",
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
toDate,
parseJSON,
} from 'date-fns';
import { zonedTimeToUtc } from 'date-fns-tz/esm';
import { zonedTimeToUtc } from 'date-fns-tz';
import { enUS } from 'date-fns/esm/locale';
import { NGX_MAT_DATEFNS_LOCALES } from './ngx-mat-datefns-locales';

Expand Down

0 comments on commit 361aec0

Please sign in to comment.