requirejs-babel

WebJar for requirejs-babel

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

requirejs-babel
Last Version

Last Version

0.0.8
Release Date

Release Date

Type

Type

jar
Description

Description

requirejs-babel
WebJar for requirejs-babel
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mikach/requirejs-babel

Download requirejs-babel

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/requirejs-babel/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>requirejs-babel</artifactId>
    <version>0.0.8</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/requirejs-babel/
implementation 'org.webjars.npm:requirejs-babel:0.0.8'
// https://jarcasting.com/artifacts/org.webjars.npm/requirejs-babel/
implementation ("org.webjars.npm:requirejs-babel:0.0.8")
'org.webjars.npm:requirejs-babel:jar:0.0.8'
<dependency org="org.webjars.npm" name="requirejs-babel" rev="0.0.8">
  <artifact name="requirejs-babel" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='requirejs-babel', version='0.0.8')
)
libraryDependencies += "org.webjars.npm" % "requirejs-babel" % "0.0.8"
[org.webjars.npm/requirejs-babel "0.0.8"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Babel (6to5) Plugin

A Babel loader plugin for RequireJS.

Installation

npm install --save-dev requirejs-babel babel babel-plugin-module-resolver-standalone

Usage

Add the paths to configuration:

  paths: {
    es6: '...node_modules/requirejs-babel/es6',
    babel: '...node_modules/@babel/standalone/babel.min',
    'babel-plugin-module-resolver': '...node_modules/babel-plugin-module-resolver-standalone/index'
  }

Reference files via the es6! plugin name:

  define(['es6!your-es6-module'], function(module) {
    // ...
  });

Versions

Version
0.0.8