Skip to content

Commit

Permalink
Merge pull request #4637 from TheThingsNetwork/fix/chunk-name
Browse files Browse the repository at this point in the history
Do not parametrize chunk name
  • Loading branch information
adriansmares authored Sep 17, 2021
2 parents fef53d8 + b4a7f47 commit 4a40303
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/webui/lib/components/with-locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ const LocaleLoader = ({ children }) => {
if (window.Intl.DateTimeFormat.polyfilled) {
log(`Polyfilling DateTimeFormat for language ${language}`)
promises.push(
import(
/* webpackChunkName: "locale.[request]" */ '@formatjs/intl-datetimeformat/add-all-tz'
),
import(/* webpackChunkName: "locale" */ '@formatjs/intl-datetimeformat/add-all-tz'),
import(
/* webpackChunkName: "locale.[request]" */ `@formatjs/intl-datetimeformat/locale-data/${language}`
),
Expand Down

0 comments on commit 4a40303

Please sign in to comment.