A boilerplate Spark AR project with Webpack
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.
npm i
in the root foldernpm run dev
npm run build