Type of Change
Summary
Observed in ProjectEvergreen/greenwood-getting-started#54 that although resource plugins allow using custom extensions for ESM, like for TypeScript or SCSS in JavaScript using import, but this behavior is not supported in <script> and <style> tags.
Details
So basically, you can do this
import { FooterComponent } from './footer.ts';
// or this
import css from './styles.scss?type=css';
But we need to make sure user's can also do this
<script type="module" src="./footer.ts"/>
<link rel="stylesheet" href="./styles.scss"/>
Type of Change
Summary
Observed in ProjectEvergreen/greenwood-getting-started#54 that although resource plugins allow using custom extensions for ESM, like for TypeScript or SCSS in JavaScript using
import, but this behavior is not supported in<script>and<style>tags.Details
So basically, you can do this
But we need to make sure user's can also do this