Closed ioannist closed 4 years ago
This does not feel painful to me:
import Icon as MIcon from "@smui/textfield/icon";
Why should @alphapeter break his API so you can avoid typing a single letter?
You can choose any variable name you want when there's no "named export".
import FaSvelte from "fa-svelte"
or
import Foo from "fa-svelte"
The Icon
variable naming is an example.
Check the webpack documentation at https://webpack.js.org/api/module-methods/
Svelte material requires import Icon from "@smui/textfield/icon/index";
FA should use another name to avoid pain...