babel-preset-webpack

[DEPRECATED] Webpack Organization es2015 Babel Preset - See:

Showing:

Popularity

Downloads/wk

8

GitHub Stars

1

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

23

Size (min+gzip)

132.2KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

npm deps test coverage chat

Webpack Babel Preset

Provides Webpacks's es2015 Babel preset.

Install

npm i -D babel-preset-webpack

Usage

Via .babelrc

.babelrc

{
  "presets": ["webpack"]
}

Via CLI

$ babel script.js --presets webpack 

Comparison Demo

The repo includes a copy of the extract-text-plugin for the purposes of vetting transpiled output to assist in the selection of ECMA features for this preset.

./demo-app/extract-text-orig: Original application code without modification.

./demo-app/extract-text-babel: es6 features added ( this is a wip ) without making significant changes to code structure.

Run the comparison build

$ npm run build

Babel will output transpiled code & sourcemaps to ./dist

Maintainers


Joshua Wiens

Juho Vepsäläinen

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial