Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
web
 
 
 
 
 
 
 
 
 
 

PlatformIO Webpack Example

An example repo demonstrating how to use Webpack with PlatformIO targeting the ESP32 platform.

Anatomy Overview

General Layout

Compiled Web Assets

  • ./dist/web_assets.h is generated by Webpack. And needs to exist during compile.
  • Webpack is invoked during the PlatformIO build via ./build_web.py.
  • Each asset (Webpack "pack") is put in its on progmem byte array and backed by a const char* map.

Webdev Entrypoint

  • Web sources are in ./web.
  • Within that directory, you can run the build with npm run build or start a development server with npm run start.

Webserver Development

Example Projects

About

Barebones skeleton demonstrating how to use Webpack in conjunction with PlatformIO

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published