An open API service indexing awesome lists of open source software.

https://github.com/tangrams/webpack-tangram-boilerplate

A minimal example of bundling Tangram with Webpack, but without Babel or React.
https://github.com/tangrams/webpack-tangram-boilerplate

Last synced: about 1 year ago
JSON representation

A minimal example of bundling Tangram with Webpack, but without Babel or React.

Awesome Lists containing this project

README

          

# 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:

```sh
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`.