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 exports field for stimulus package and Webpack 5 #569

Merged
merged 1 commit into from Aug 6, 2022

Commits on Aug 5, 2022

  1. fix package exports fields

    without "." defined as export, webpack 5 won't find the requested module.
    this happens because the exports field replaces the root-level "module", "main", "types", etc:
    
    "When the exports field is specified, only these module requests are available. Any other requests will lead to a ModuleNotFound Error."
    
    see https://webpack.js.org/guides/package-exports/
    glaszig committed Aug 5, 2022
    Copy the full SHA
    c185d9b View commit details
    Browse the repository at this point in the history