README
vars loader for webpack
Assign variables from other variables you have imported. Useful for when you shim a script that looks for an object on the window object or other global objects.
Usage
require("vars?window.jQuery=>jQuery!./file.js");
vars loader module for webpack
<script type="module">
import varsLoader from 'https://cdn.skypack.dev/vars-loader';
</script>
Assign variables from other variables you have imported. Useful for when you shim a script that looks for an object on the window object or other global objects.
require("vars?window.jQuery=>jQuery!./file.js");