包详细信息

@nextcloud/babel-config

nextcloud85.3kAGPL-3.0-or-later1.2.0

Babel shared config for nextcloud apps

babel, nextcloud, config

自述文件

@nextcloud/babel-config

npm last version Dependabot status

This is a package containing the unified global babel config used by all nextcloud apps. It contains the necessary dependencies and peerDependencies so that other apps cannot update if this config does not support it. Please always use dependabot to update your apps, OR pay attention to the peer dependencies error messages!

Installation

npm install @nextcloud/babel-config --save-dev

Usage

Add a file babel.config.js in the root directory of your app repository with the following content:

const babelConfig = require('@nextcloud/babel-config')

module.exports = babelConfig

Release new version

  1. Bump the package version with npm version
  2. Push version bump commit
  3. Create a new release with proper changelog https://github.com/nextcloud-libraries/babel-config/releases/new