I want to add window name to top of webpack file like
"window["webpackTest"] =
/******/ (function(modules) "
then I want to call my init function with passing parameters in js file. I added some feature to webpack configuration file
globalObject: 'this',
library: 'myLib',
libraryTarget: 'var'
and I can see top of my webpack js file
var myLib = /******/
(function(modules) {
I wonder, how can I call my function in html file.