![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
broccoli-module-alchemist
Advanced tools
Broccoli-based tool for transforming ES2015 and TypeScript into many different module formats, for Node.js and the browser.
A Broccoli plugin for transpiling TypeScript and JavaScript code written with standard module syntax ("ES6 modules") into legacy module formats, like UMD, AMD and CommonJS.
Broccoli Module Alchemist is a Broccoli plugin that can be used from your project's ember-cli-build.js
or Brocfile.js
.
Here's an example ember-cli-build.js
file:
var alchemist = require('broccoli-module-alchemist');
module.exports = function() {
return alchemist();
}
Place your package's source code in a root src
directory. TypeScript files should have the extension .ts
, while JavaScript files should have the extension .js
.
Make sure to use the standard module syntax for importing dependencies and specifying exports.
When your package is built (either by running ember build
or broccoli build
), the transpiled output will be placed into the dist
directory.
In all cases, the source JavaScript or TypeScript is compiled to an ES5 target for maximum compatibility across browsers and Node.js versions. For example, the JavaScript module output contains ES6 module syntax but all other code is converted to ES5.
Path | Format |
---|---|
dist/js | JavaScript (ES6) modules, ES5 code |
dist/cjs | CommonJS |
dist/umd/package-name.js | UMD (AMD if detected, global in browser, CommonJS in Node) |
In your package.json
:
main
entry pointing to dist/cjs/index.js
(or whatever your entry point is).jsnext:main
entry pointing to dist/js/index.js
.We do not recommend supporting Bower, but if you would like to for backwards-compatibility, consider creating a new repository on GitHub and publishing a bower.json
there, along with whatever directories in dist
you want to support (probably UMD).
FAQs
Broccoli-based tool for transforming ES2015 and TypeScript into many different module formats, for Node.js and the browser.
The npm package broccoli-module-alchemist receives a total of 3 weekly downloads. As such, broccoli-module-alchemist popularity was classified as not popular.
We found that broccoli-module-alchemist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.