Is it possible to use CRA/react-scripts with dependencies that have .mjs extensions?

This page summarizes the projects mentioned and recommended in the original post on /r/reactjs

SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • reaction-component-library

    Example Storefront Component Library: A set of React components for the Example Storefront

  • The comment here, further linked by StackOverflow, discusses a workaround, which works; but it raises interesting questions.

  • lazy-i18n

    Lazy load translations for your React application.

  • Dependency in question. This worked fine for CRA until I changed my ESM bundle to use .mjs, now it requires react-app-rewired. 🤔

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • create-react-app

    Set up a modern web app by running one command.

  • This is interesting because it looks like CRA supports mjs from their Webpack Config

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How to write React components in TypeScript (2022)

    3 projects | dev.to | 23 Nov 2022
  • 👥 Reproducible Nx Workspace with HugeNx’s Conventions

    3 projects | dev.to | 4 May 2024
  • 🍒 Cherry-Picked Nx v18.3 Updates

    2 projects | dev.to | 20 Apr 2024
  • Integration of Angular, Vue.js and React with .NET: Creating a Modern Web Experience

    2 projects | dev.to | 10 Apr 2024
  • 🍒 Cherry-Picked Nx v18.1 Updates

    1 project | dev.to | 5 Apr 2024