{"id":12926,"library":"build-plugin-jsx-plus","title":"JSX Plus Build Plugin","description":"build-plugin-jsx-plus is an early-stage build plugin, currently at version 0.1.4, designed to enable and transform custom `jsx-plus` syntax within the `ice.js` framework ecosystem. It provided a dedicated transformation layer for this specific JSX dialect. Given its low version number and the current iteration of the framework, `@ice/app`, being in its 3.x series with actively maintained plugins at much higher versions, this specific package is considered abandoned. Its original functionality may have been absorbed directly into newer `@ice/app` versions, replaced by standard JSX tooling, or deprecated in favor of more conventional approaches. It had a sporadic release cadence, which has effectively ceased for this package. Key differentiators included its support for `jsx-plus` specific syntax features, distinguishing it from standard React JSX transformers.","status":"abandoned","version":"0.1.4","language":"javascript","source_language":"en","source_url":"https://github.com/alibaba/ice/tree/master/packages/plugin-jsx-plus","tags":["javascript","plugin"],"install":[{"cmd":"npm install build-plugin-jsx-plus","lang":"bash","label":"npm"},{"cmd":"yarn add build-plugin-jsx-plus","lang":"bash","label":"yarn"},{"cmd":"pnpm add build-plugin-jsx-plus","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Assumed default export for a build plugin. Primarily used in older `ice.js` framework versions (likely v1 or v2). Not compatible with `@ice/app` v3+.","wrong":"const JsxPlusPlugin = require('build-plugin-jsx-plus');","symbol":"JsxPlusPlugin","correct":"import JsxPlusPlugin from 'build-plugin-jsx-plus';"},{"note":"This plugin would typically be used within the `defineConfig` utility of an `ice.js` project (older versions).","symbol":"defineConfig","correct":"import { defineConfig } from '@ice/app';"}],"quickstart":{"code":"/* ice.config.js (for older ice.js versions, not @ice/app v3+) */\nimport { defineConfig } from '@ice/app';\nimport JsxPlusPlugin from 'build-plugin-jsx-plus';\n\nexport default defineConfig(() => ({\n  // Other ice.js configuration options...\n  plugins: [\n    // In an older ice.js setup, you might include the plugin like this.\n    // Note: This specific package (0.1.4) is NOT compatible with @ice/app v3+.\n    // The functionality might be integrated differently or deprecated in modern versions.\n    JsxPlusPlugin({ /* plugin options, if any */ })\n  ]\n}));\n\n// Example component (hypothetical for jsx-plus syntax)\n// const MyComponent = () => <div ++class=\"my-class\">Hello JSX Plus</div>;\n// console.log(MyComponent());","lang":"typescript","description":"Demonstrates a hypothetical configuration for an older `ice.js` project using `build-plugin-jsx-plus`. This specific plugin version is not compatible with modern `@ice/app` v3+."},"warnings":[{"fix":"Do not install `build-plugin-jsx-plus`. If `jsx-plus` features are needed, consult `@ice/app` documentation for alternative or built-in solutions, or consider migrating to standard JSX.","message":"The `build-plugin-jsx-plus` package (version 0.1.4) is incompatible with the current `@ice/app` framework (v3.x and newer). Functionality related to `jsx-plus` transformation is either deprecated or handled internally by `@ice/app` directly.","severity":"breaking","affected_versions":">=0.1.5 (any future, unlikely version), @ice/app >=3.0"},{"fix":"Refactor existing code using `jsx-plus` syntax to standard React JSX. For new projects, stick to conventional JSX practices.","message":"The `jsx-plus` syntax and its corresponding build plugin are no longer actively maintained or recommended for new `@ice/app` projects. Development has shifted towards standard JSX and more modern build tool integrations.","severity":"deprecated","affected_versions":">=0.1.4"},{"fix":"Avoid using this package. If `jsx-plus` transformation is strictly required for legacy projects, ensure it's pinned to a compatible older `ice.js` framework version and be prepared for manual troubleshooting.","message":"This package has extremely limited documentation and support due to its abandonment. Attempting to use it will likely lead to configuration errors, missing transformations, or conflicts with modern `@ice/app` build processes.","severity":"gotcha","affected_versions":">=0.1.4"}],"env_vars":null,"last_verified":"2026-04-19T00:00:00.000Z","next_check":"2026-07-18T00:00:00.000Z","problems":[{"fix":"Ensure `build-plugin-jsx-plus` is correctly listed in `package.json` and `node_modules` is up-to-date. Verify the `import` statement matches the package's export mechanism. Most importantly, consider if this package is appropriate for your `ice.js` version.","cause":"The package is not installed, or the import path is incorrect, or it's being used in an incompatible environment (e.g., CommonJS when expecting ESM).","error":"Error: Cannot find module 'build-plugin-jsx-plus'"},{"fix":"This error strongly indicates incompatibility with modern `@ice/app` setups. If forced to use legacy `jsx-plus` with an older `ice.js`, ensure the plugin is correctly applied in the build configuration for the specific `ice.js` version. For `@ice/app` v3+, this plugin is obsolete; the `jsx-plus` feature might be handled differently or not supported.","cause":"The `jsx-plus` syntax is encountered by the build system, but the `build-plugin-jsx-plus` transformation is either not active, misconfigured, or not compatible with the current bundler setup.","error":"Module parse failed: Unexpected token. You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file."}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":""}