Skip to content

Library starter kit using Webpack. ES6 source compiles down to ES5 and is minfied. Exports to UMD format.

Notifications You must be signed in to change notification settings

mauricevancooten/library-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Starter Kit

Library starter kit using Webpack.

  • ES6 Source
  • Exports UMD format
  • Compiles JavaScript down to ES5 and is minified

Instructions

Configure Library

  1. Inside webpack.config.js change the name of the library: libraryName: '...'
  2. Inside package.json change the file name of the main property: "main": "src/..."

Compile Library

  1. Install dependencies: npm install
  2. Run production / development environment
  • For production: npm run compile
  • For development: npm run compile-watch

Production

JavaScript compiles down to ES5 and is minified.

Development

Watches and compiles JavaScript.

Licence

Licensed under the MIT Licence.

About

Library starter kit using Webpack. ES6 source compiles down to ES5 and is minfied. Exports to UMD format.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published