🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@ray-core/babel-preset-remax

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ray-core/babel-preset-remax

remax babel preset

latest
npmnpm
Version
0.4.12
Version published
Weekly downloads
445
37.77%
Maintainers
1
Weekly downloads
 
Created
Source

babel-preset-remax

Babel preset for remax app.

  yarn add babel-preset-remax --dev

Options

react

configure react preset. https://babeljs.io/docs/en/babel-preset-react

typescript

configure typescript preset. https://babeljs.io/docs/en/babel-preset-typescript

decorators

configure babel proposal decorators. https://babeljs.io/docs/en/babel-plugin-proposal-decorators

class-properties

configure babel proposal class properties. https://babeljs.io/docs/en/babel-plugin-proposal-class-properties

throw-if-namespace

configure react preset throwIfNamespace option. https://babeljs.io/docs/en/babel-preset-react#throwifnamespace

{
  presets: [
    [
      'remax',
      {
        react: {
          runtime: 'classic',
        },
        typescript: {
          allowNamespaces: true,
        },
        'class-properties': {
          loose: true,
        },
        decorators: {
          legacy: true,
        },
        'throw-if-namespace': false,
      },
    ],
  ];
}

FAQs

Package last updated on 08 Sep 2025

Did you know?

Socket

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.

Install

Related posts