Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore ./locale import from moment/min/moment-with-locales #533

Merged
merged 1 commit into from
Jan 24, 2024

Commits on Jan 16, 2024

  1. fix: ignore ./locale import from moment/min/moment-with-locales

    @nextcloud/moment since v1.3.0 uses `moment/min/moment-with-locales.js`.
    Which works only in Node.js and is not compatible with Webpack bundling.
    It has an unused function `localLocale` that requires locales by invalid relative path `./locale`.
    Though it is not used, Webpack tries to resolve it with `require.context` and fails.
    
    Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
    ShGKme committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    0b9078a View commit details
    Browse the repository at this point in the history