Skip to content

krystian50/babel-plugin-lodash-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boilerplate-babel-webpack

npm version downloads count

🍴 Starter with Babel.js and Webpack

Features

  • ✅ Webpack v4.42.1
  • ✅ Babel (Core) v7.9.0
  • ✅ Support syntax ES2015+
  • ✅ Static directory dist/
  • ✅ Development with webpack-dev-server
  • ✅ Hosting with http-server
  • ✅ Analysis of bundle file weight (source-map-explorer)
  • ✅ Two build strategies: dev (with source maps) & prod (compress file)

Getting started

You can start in two ways:

Use Git

mkdir PROJECT_NAME
cd $_     # Note: "$_" is last argument of previous command
git init  # Note: branch "master" is created
git remote add boilerplate [email protected]:piecioshka/boilerplate-babel-webpack.git
git pull boilerplate master
git remote remove boilerplate

or ...

Use Zip

  1. Download package file:
    https://github.com/piecioshka/boilerplate-babel-webpack/archive/master.zip
  2. Extract it to your project directory.

How to build an application?

  • development

    npm run build
  • production

    npm run build:production

Open dist/ directory in browser by npm start.

How to develop an application?

npm run dev     # use webpack-dev-server
npm run watch   # use webpack -w

Open dist/ directory in browser by npm start.

Remove generated directory

If you would like to remove dist/ directory:

npm run clear

If you would like to remove node_modules/ and remove dist/

npm run clear:all

Count LOC (Lines of Code)

If you would like to know how many lines of code you write:

npm run count

Analysis of bundle file weight

If you would like to check how much a bundle file weight:

npm run build
npm run audit

License

The MIT License @ 2017

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published