requirejs-babel

WebJar for requirejs-babel

License

License

MIT
Categories

Categories

JavaScript Languages
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

requirejs-babel
Last Version

Last Version

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

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.9
0.0.8
0.0.6