This is a basic template for building p5.js applications using Webpack.
git clone https://github.com/ZRNOF/p5-project.git
cd p5-project
npm install
npx p5-project
This command will trigger Webpack to build your project while watching for changes.
npm run dev
This will optimize your code for production, minify it, and create a production-ready bundle in the /dst/index.js file.
npm run build
This command starts the Webpack Dev Server, allowing you to develop and test your application with live-reloading.
npm start