Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 681 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 681 Bytes

webpack-tangram-boilerplate

This is a minimal example of bundling Tangram with Webpack, but without Babel or React, to illustrate the process by which Webpack module bundling works with Tangram in an otherwise-vanilla JS environment. (Compare: https://github.com/tangrams/react-webpack-tangram-boilerplate)

To try this out, clone this repository to your local environment, then run:

cd webpack-tangram-boilerplate
npm install
npm start

This will create a JavaScript bundle called dist/bundle.js using webpack, and start a local web server with http-server so that you can observe the app in action. You can open it in your browser at http://localhost:8080.