0.8.4 • Published 7 years ago
backpack-examples-with-custom-babel-config v0.8.4
Custom Babel Configuration Example
How to use
Download the example or clone the whole project:
curl https://codeload.github.com/palmerhq/backpack/tar.gz/master | tar -xz --strip=2 backpack-master/examples/with-custom-babel-config
cd with-custom-babel-configInstall it and run:
npm install
npm run devIdea behind the example
This demonstrates how extend the default Backpack babel configuration with a custom .babelrc file.
More specifically, this example shows how to add all stage-0 transformations through babel-preset-stage-0.
Be sure to include backpack-core/babel in your .babelrc as the first item in the presets array:
{
"presets": ["backpack-core/babel", "..."]
}0.8.4
7 years ago
0.8.3
7 years ago
0.8.2
7 years ago
0.8.1
7 years ago
0.8.0
7 years ago
0.8.0-0
8 years ago
0.7.0
8 years ago
0.5.0
8 years ago
0.4.3
8 years ago
0.4.2
8 years ago
0.4.1
8 years ago
0.4.0
8 years ago
0.4.0-rc1
9 years ago
0.3.0
9 years ago
0.2.1
9 years ago
0.2.0
9 years ago
0.1.0
9 years ago
0.0.9
9 years ago
0.0.8
9 years ago