Skip to content

Conversation

@kellymilligan
Copy link

@kellymilligan kellymilligan commented Oct 31, 2022

During development it's helpful to include the non-minified main.js in index.html. The middleware only watches for changes to main.min.js to run the build() step.

This adds main.js to the middleware check, and also passes whether the min version was requested through to build() as an argument, returning the appropriate bundle. Still logs out bytes based on the minified size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant