I am trying to figure out if we can truly enable dynamicImports? I see that that the LWC Compiler has a babel config flag that can enable it, and there are even tests that use this setting but I do not know how to turn it on.
When trying to run this line:
const template = import(`./templates/${this.type}View.html`);
I get the following error:
LWC1509: This experimental syntax requires enabling the parser plugin: 'dynamicImport'.
Is this possible for me to enable since it is telling me to, and if so how do I enable 'dynamicImport'