Closed
Description
Description
support multiple configurations with one HTML file. eg <script type=module>
Specifically I'd like to create a config with babel loader set to:
{
"presets": [
["env", {
"targets": {
"chrome": 61, "safari": "10.2"
}
}]
]
}
and one with babel loader set to:
{
"presets": [
["env", {
"targets": {
"ie": 11
}
}]
]
}
then render both entry points in the same page with:
<script type="module" src="<- config[0].entry.js ->"><script>
<script nomodule src="<- config[1].entry.js ->"><script>