Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ashleymarkfletcher/spark-ar-boilerplate

A boilerplate Spark AR project with Webpack
https://github.com/ashleymarkfletcher/spark-ar-boilerplate

augmented-reality spark spark-ar spark-ar-studio sparkar webpack

Last synced: about 1 month ago
JSON representation

A boilerplate Spark AR project with Webpack

Awesome Lists containing this project

README

        

# spark-ar-boilerplate
A boilerplate Spark AR project with Webpack.

Most of the magic is in the webpack config.

Adding the built in modules like "Materials" as externals allows webpack to skip them when bundling everything together.

## Getting Started

- Clone or download this repository
- run `npm i` in the root folder

## Usage

### Development
- run `npm run dev`
- this will watch your files for changes and automatically build the code
- when the code is rebuilt Spark AR should refresh on code change

### Production
- run `npm run build`
- this just runs the build once and outputs a minified file