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

Extracting polyfills CRA dependencies #1103

Open
Facj opened this issue Dec 13, 2024 · 0 comments
Open

Extracting polyfills CRA dependencies #1103

Facj opened this issue Dec 13, 2024 · 0 comments

Comments

@Facj
Copy link

Facj commented Dec 13, 2024

I have used wepack-license-plugin to extract the license of an Ionic React app built with create-react-app.
I have realized that the output does not include any polyfills-related package. Polyfills are mentioned in CRA issues as injected in the bundle (1, 2).

Is it possible that polyfills packages are actuall included and not detected by webpack-license-plugin?

These are my package.json file and the output of the webpack-license-plugin:
package.json
thirdPartyNotice.json

This is my craco.config.js:

const LicensePlugin = require("webpack-license-plugin");

module.exports = {
  webpack: {
    plugins: [new LicensePlugin({ outputFilename: "thirdPartyNotice.json" })]
  }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant