murrayrj / rollup-starter-app-example

Starter project using es6, rollup, babel and uglify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rollup-starter-app-example

This repo contains a bare-bones example of how to create a library using Rollup, including importing a module from node_modules and converting it from CommonJS.

Getting started

Clone this repository and install its dependencies:

npm install

npm run build builds the library to dist

npm run build -- --environment GOOGLE_MAPS_API:YOUR-API-KEY does a development build

npm run build -- --environment GOOGLE_MAPS_API:YOUR-API-KEY,NODE_ENV:production does a production build

About

Starter project using es6, rollup, babel and uglify


Languages

Language:JavaScript 82.2%Language:CSS 10.2%Language:HTML 7.6%