modernizr-loader
modernizr-loader copied to clipboard
specific chunk
Hi,
I have a requirement from a front-end dev to place the modernizr
package in the head of our application. This is due to the fact that the view will get a flicker if the modernizr
javascript loads AFTER CSS classes that use modernizr
classes.
How would one go about making the modernizr
builder an entry? Could it be chunked on the output?
I would need the custom modernizr build to be chunked, but the resulting output being a global file that can be referenced within the components that use the Modernizr JS.
Thoughts... does this make sense and is possible?
Thanks!