Update webpack.config.js to include 'buffer' and 'vm' in resolve.fallback and correctly configure ProvidePlugin for Buffer, resolving the "Buffer is not defined" error and a related 'vm' warning.
Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 2501b04e-77c8-4f06-a13c-75c232bafd47
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 970a879c-45e0-48b9-bed1-d9e23d410f4a
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ea4278b-5c6c-4065-9cb8-f1013771318d/2501b04e-77c8-4f06-a13c-75c232bafd47/rAsiAu1
Replit-Helium-Checkpoint-Created: true
* * Change profile editor so it works when client uploads profiles where string case doesn't match editor expectations
* Re-enable culling down time zone data sent to client
* Add a workaround to fix Loop uploading non-ISO compliant time zone identifier
* Experimental branch that replaces momentjs with dayjs in the client
* Revert unintentional change
* feat
* Turns out dayjs is a no-go, but this has some good restructuring so submitting that
add NodeJS 16.x support.
drop NodeJS 12.x support.It reached End-of-Life status on 30 April 2022
allow NodeJS 18.x support to run for CI
upgrade webpack and webpack-cli
update browserlist and browser documentation, config is now at .browserslistrc
update README.md for browsers and Node versions
fix typos in comments in lib/client/hashauth.js and webpack/webpack.config from https://github.com/nightscout/cgm-remote-monitor/pull/7440
This change attempts to tidy the project root by moving webpack configuration
into it's own subdirectory. The metadata has been updated to match this information.
In addition, the configuration file itself is simplified for future maintainers
in some ways. Now the configuration to a projectRoot which is calculated
exactly once, instead of introspecting from __dirname each time.