Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.32 KB

@mspg/transpile-babel

uses babel to transpile stage 0 ecmascript features into ecmascript 5

NPM version Linux Build Status Windows Build Status Coverage Status Greenkeeper badge

Usage:

First set up a mspg project.

then, in src/config.js

  import JS from '@mspg/transpile-babel'

  export default {
    TRANSPILERS: {
      JS,
    },
  }

Every js file in the /src directory will be transpiled separately. To use libraries just put them into /includes/js and require them from there.