Skip to content

vijayxtreme/starterES6Webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First steps:

Let's create a new project.

mkdir es6-intro cd es6-intro npm init -y

npm i webpack-cli webpack webpack-dev-server --save-dev

Note if this fails: schnerd/d3-scale-cluster#7 Update your Xcode tools on Mac, kind of a bug.

Also make sure you have perms to write to your usr/local/lib/node_modules folder (chown -R $USER)

mkdir src (all your js files live here) touch src/index.js

touch webpack.config.js

npm i babel-loader @babel/core --save-dev

npm i @babel/preset-env --save-dev

touch .babelrc

https://www.sitepoint.com/javascript-decorators-what-they-are/

About

Starter for ES6 playground w/Webpack and Babel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published