Fabian Mossberg

Results 11 comments of Fabian Mossberg

I get the same problem, with a bunch of icons, as well as the `icon` method. I uploaded it in a repo that is stripped clean of anything but FontAwesome,...

@jasonlundien: One more thing. It works perfectly if I do the following: Edit the the following files: ``` node_modules/@fortawesome/fontawesome-svg-core/package.json node_modules/@fortawesome/free-solid-svg-icons/package.json ``` By adding this: ``` "type": "module", ``` As suggested...

A workaround until the packages are shipped as esm is to fix it in the vite config. In SvelteKit, edit `svelte.config.js` and add `'@fortawesome/*'` to `kit.vite.ssr.noExternal` https://github.com/fabianmossberg/fontawesome-problem/blob/7357af392e3858b726520a95688bb2a82d9913e0/svelte.config.js#L4-L13

Me too. I also have problems with the `icon` method. ```sh import { icon } from "@fortawesome/fontawesome-svg-core"; ^^^^ SyntaxError: Named export 'icon' not found. The requested module '@fortawesome/fontawesome-svg-core' is a...

A workaround until the packages are shipped as esm is to fix it in the vite config. In SvelteKit, edit `svelte.config.js` and add `'@fortawesome/*'` to `kit.vite.ssr.noExternal` https://github.com/fabianmossberg/fontawesome-problem/blob/7357af392e3858b726520a95688bb2a82d9913e0/svelte.config.js#L4-L13

> @fabianmossberg Glad you got it working; I made #18720 a month ago and it hasn’t been triaged, so I’m not expecting a prompt fix. I would guess that the...

I have the same problem: It works with files in the root: Original: http://photos.matchatheapp.com.s3-website-eu-west-1.amazonaws.com/horse.jpg Resize: http://photos.matchatheapp.com.s3-website-eu-west-1.amazonaws.com/100x100/horse.jpg It does not work with files in directories: Original: https://photos.matchatheapp.com.s3-eu-west-1.amazonaws.com/profiles/XrPLrK/51ED545C-AB28-4988-9D6B-598A0DD6A02F.jpeg Resize: https://photos.matchatheapp.com.s3-eu-west-1.amazonaws.com/profiles/XrPLrK/100x100/51ED545C-AB28-4988-9D6B-598A0DD6A02F.jpeg

@sagidM : no, the folder 100x100 does not exist in the `profiles/XrPLrK/` directory.

@sagidM : this is strange. Today it works. Even the links I Posted as "not working" yesterday actually produces the expected result today. I'm not sure what I did wrong....