Skip to content

robbieferrero/wintersmith-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wintersmith-babel

Wintersmith plugin for Babel

Installing

Install globally or locally using npm

npm install [-g] wintersmith-babel

and add wintersmith-babel to your config.json

{
  "plugins": [
    "wintersmith-babel"
  ]
}

Requirements

Depending on which Babel features you use it is a good idea (pretty much required) to include babel-polyfill.js in your primary template (along with compiled scripts). This file can be built using Babel-core

Reminder: It must be stored in your contents folder to be included in a Wintersmith build

Build

To build from src run npm run prepublish