Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nuxt-babel-runtime

dword-design56MIT5.0.12

Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.

readme

nuxt-babel-runtime

npm version Linux macOS Windows compatible Build status Coverage status Dependency status Renovate enabled
Open in Gitpod Buy Me a Coffee PayPal Patreon

Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.

Install

# npm
$ npm install nuxt-babel-runtime

# Yarn
$ yarn add nuxt-babel-runtime

Usage

Nuxt allows to customize the babel configuration for the build. But this does not take module files or nuxt.config.js into account. This package provides a CLI that starts Nuxt with a babel config.

First create a babel config file like .babelrc.json in your project path.

Then, simply run nuxt-babel as you would run nuxt:

$ nuxt-babel dev
$ nuxt-babel build
$ nuxt-babel start

Contribute

Are you missing something or want to contribute? Feel free to file an issue or a pull request! ⚙️

Support

Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here:

Buy Me a Coffee  If you want to send me a one time donation. The coffee is pretty good 😊.
PayPal  Also for one time donations if you like PayPal.
Patreon  Here you can support me regularly, which is great so I can steadily work on projects.

Thanks a lot for your support! ❤️

See also

  • nuxt-mail: Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
  • nuxt-route-meta: Adds Nuxt page data to route meta at build time.
  • nuxt-modernizr: Adds a Modernizr build to your Nuxt.js app.
  • nuxt-mermaid-string: Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string.
  • nuxt-content-git: Additional module for @nuxt/content that replaces or adds createdAt and updatedAt dates based on the git history.

License

MIT License © Sebastian Landwehr

changelog

5.0.12 (2025-05-03)

Bug Fixes

  • do not transpile node_modules (80de6d2)

5.0.11 (2025-04-13)

Bug Fixes

5.0.10 (2025-04-06)

Bug Fixes

5.0.9 (2025-03-31)

Bug Fixes

5.0.8 (2024-10-06)

Bug Fixes

5.0.7 (2024-10-06)

Bug Fixes

  • update dependency suppress-experimental-warnings to v2 (#110) (3643fde)
  • update pnpm to v9.12.0 (#122) (b31f866)

5.0.6 (2024-08-18)

Bug Fixes

5.0.5 (2024-06-12)

Bug Fixes

5.0.4 (2024-02-27)

Bug Fixes

5.0.3 (2024-02-13)

Bug Fixes

  • bump babel-register-esm (3bf060f)

5.0.2 (2024-02-13)

Bug Fixes

5.0.1 (2024-02-12)

Bug Fixes

5.0.0 (2024-01-30)

Bug Fixes

BREAKING CHANGES

  • nodejs >= 18

4.0.4 (2023-08-30)

Bug Fixes

4.0.3 (2023-08-30)

Bug Fixes

4.0.2 (2023-07-02)

Bug Fixes

4.0.1 (2023-07-02)

Bug Fixes

  • inject experimental loader (ee6e3c8)

4.0.0 (2023-07-01)

Bug Fixes

BREAKING CHANGES

  • drop node 12 and 14, nuxt 3, esm

3.0.10 (2022-01-12)

Bug Fixes

3.0.9 (2022-01-04)

Bug Fixes

3.0.8 (2021-07-20)

Bug Fixes

3.0.7 (2021-07-06)

Bug Fixes

3.0.6 (2021-06-29)

Bug Fixes

3.0.5 (2021-06-14)

Bug Fixes

3.0.4 (2021-05-28)

Bug Fixes

3.0.3 (2021-05-04)

Bug Fixes

  • update dependency @dword-design/puppeteer to v5 (#31) (d51f491)
  • update dependency fs-extra to v10 (#32) (70d3315)
  • update dependency output-files to v2 (#33) (b861924)
  • update dependency tree-kill-promise to v2 (#34) (a1a0ccb)

3.0.2 (2021-05-04)

Bug Fixes

  • update dependency with-local-tmp-dir to v4 (#35) (c1ea6b3)

3.0.1 (2021-05-04)

Bug Fixes

  • update dependency @dword-design/functions to v4 (#30) (406dc24)

3.0.0 (2021-05-03)

Bug Fixes

  • update dependency @dword-design/base to v8 (#29) (97597e4)

BREAKING CHANGES

  • require Node.js >= 12

Co-authored-by: Renovate Bot bot@renovateapp.com Co-authored-by: Sebastian Landwehr info@dword-design.de Co-authored-by: GitHub Actions actions@github.com

2.0.14 (2021-04-26)

Bug Fixes

  • update dependency with-local-tmp-dir to v3 (#25) (17d70b6)

2.0.13 (2021-04-26)

Bug Fixes

  • update dependency @dword-design/puppeteer to v4 (#27) (3740cbe)

2.0.12 (2021-04-12)

Bug Fixes

2.0.11 (2021-03-31)

Bug Fixes

2.0.10 (2021-03-23)

Bug Fixes

  • update dependency @dword-design/functions to v3 (#14) (776467c)

2.0.9 (2021-03-22)

Bug Fixes

2.0.8 (2021-03-17)

Bug Fixes

2.0.7 (2021-03-09)

Bug Fixes

  • update dependency nuxt to ~2.15.0 (8f9a116)

2.0.6 (2021-03-09)

Bug Fixes

  • update dependency @dword-design/puppeteer to v3 (c188cc6)

2.0.5 (2021-02-17)

Bug Fixes

  • update dependency @dword-design/puppeteer to v2 (#7) (23d1866)

2.0.4 (2021-02-17)

Bug Fixes

2.0.3 (2020-12-10)

Bug Fixes

  • deps: update dependency execa to v5 (e2ce5f8)

2.0.2 (2020-12-02)

Bug Fixes

  • config: Update changed files (82b6c45)

2.0.1 (2020-08-23)

Bug Fixes

2.0.0 (2020-06-18)

Features

  • make nuxt a peer dependency (a6290d9)

BREAKING CHANGES

  • make nuxt a peer dependency

1.0.0 (2020-06-13)

Bug Fixes

  • config: Update changed files (2a9dbed)

Features