Generate browser compatible js files for each Regate components, which will modify the main Regate namespace.
For example consider this two srouce files:
RegateText.js
RegateFile.js
I need a webpack configuration which will generate two files like this:
RegateText.browser.js
window.Regate = window.Regate || {}
window.Regate.RegateText = {
// implementation
}
RegateFile.browser.js
window.Regate = window.Regate || {}
window.Regate.RegateFile = {
// implementation
}
Generate browser compatible js files for each Regate components, which will modify the main Regate namespace.
For example consider this two srouce files:
RegateText.jsRegateFile.jsI need a webpack configuration which will generate two files like this:
RegateText.browser.jsRegateFile.browser.js