New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@nullvoxpopuli/ember-vite

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nullvoxpopuli/ember-vite

Meta plugin for ember projects focusing on speed.

Source
npmnpm
Version
1.0.3
Version published
Weekly downloads
687
1.63%
Maintainers
1
Weekly downloads
 
Created
Source

@nullvoxpopuli/ember-vite

A speed-optimized default meta-config for ember projects.

Install

npm add @nullvoxpopuli/ember-vite

Requires node 24+

Usage

in your vite config

import { defineConfig } from "vite";
import { ember } from "@nullvoxpopuli/ember-vite";

export default defineConfig({
  plugins: [
    ember(),
  ],
}

And remove any plugins from embroider or babel. Then delete from your package.json: @rollup/plugin-babel, @embroider/core, @embroider/vite.

[!NOTE] babel related deps are still needed for linting, so don't delete those

Requirements

  • type=module in your ember app
  • babel config must be named babel.config.js
  • @embroider/vite is up to date~ish

Configuration

The ember() plugin takes the following options:

ember({
  // optional production configs
  production: {
    // optional configuration of codeSplitting.groups
    // in the vite config.
    //
    // Docs here:
    // https://rolldown.rs/reference/OutputOptions.codeSplitting#groups
    codeSplittingGroups: [
      /* ... */
    ],
  },
  // optional babel config
  babel: {
    // defaults to true.
    // when babel runs, do so in parallel across many cores.
    parallel: false,
    // optional way to configure when babel is activateed.
    // by default, all transforming is oxc, except when babel is needed
    // (for things not currently implemented in oxc)
    include: {
      // if a file imports from anything in this array, use babel instead of
      // oxc for that file.
      //
      // For example: ['ember-concurrency', 'ember-intl/format-message'],
      whenImporting: [
        /* ... */
      ],
    },
  },
});

Keywords

vite

FAQs

Package last updated on 22 Jun 2026

Related posts