Giter Site home page Giter Site logo

jaredlunde / webpack2-env-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 17 KB

A boilerplate for creating Javascript packages with Webpack 2 and babel-preset-env.

License: MIT License

JavaScript 75.92% Smarty 24.08%
webpack webpack2 boilerplate boilerplate-template code-splitting webpack2-boilerplate babel-es6 babel-webpack

webpack2-env-boilerplate's Introduction

webpack2-env-boilerplate

A boilerplate for creating applications with Webpack 2.2 and Babel w/ babel-preset-env.

This package includes everything you need to start building a package with Webpack 2.

package.json

Here you'll find a list of devDependencies for creating this type of application, however, they are listed under 'dependencies' since I use this project as a grouped devDependency in my personal projects.

package.json.tpl

Here is an example of what your package.json might look like, were you to use this package as a devDependency. Should you choose to do so, you can install this package with the command:

npm install --save-dev webpack2-env-boilerplate

webpack.config.dev.js

This is an example of a basic development webpack configuration file for this type of package.

webpack.config.js

This is an example of a basic distribution webpack configuration file for this type of package. Commented out are examples of implementing http2 aggressive code splitting.

.babelrc

This is an example of a basic Babel 6 configuration utilizing babel-preset-env.

/src

This is where an example index file is located and where your package source code would be placed.

webpack2-env-boilerplate's People

Contributors

jaredlunde avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.