Answer the question
In order to leave comments, you need to log in
Setting import from window to webpack?
The site connects the Modernizr library directly through the script tag, below it connects a bundle assembled from many files and libs. I use webpack to build.
Problem when accessing the Modernizr library.
Is it possible to somehow make it clear to webpack that this variable (Modernizr) is taken directly from window.
I am compiling the webpack from scratch, because the contractors handed over the sources but not the build scripts, and now I need to tweak the scripts.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question