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 critical dependency warning in webpack config #783

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 21, 2024

  1. Fix critical dependency warning in webpack config

    Fixes facebookresearch#777
    
    Replace `require` statements with `import` statements in Webpack configuration files to resolve the critical dependency warning and blank page issue.
    
    * **`demo/configs/webpack/common.js`**
      - Replace `require` statements with `import` statements.
      - Update `module.exports` to `export default`.
    
    * **`demo/configs/webpack/dev.js`**
      - Replace `require` statements with `import` statements.
      - Update `module.exports` to `export default`.
    
    * **`demo/configs/webpack/prod.js`**
      - Replace `require` statements with `import` statements.
      - Update `module.exports` to `export default`.
    HendricksJudy committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ca16ddc View commit details
    Browse the repository at this point in the history