Closed atlemann closed 4 years ago
Hi @atlemann can you try updaing Fable compiler to latest version? run npm upgrade fable-compiler
in the directory where you have package.json
yarn upgrade fable-compiler
did the trick! Thanks! I've commented out the ife-loader
part and it still worked so I guess it's not needed even though the docs says it does. I must admit I have no clue what I'm doing when it comes to JavaScript and webpack etc. so sorry for my ignorance.
I'm glad you mentioned that @atlemann, I set that up at the beginning of this project and never thought about it after. Looking at their documentation it turns out it's a requirement to build plotly.js
itself, not consume the bundle... 😅 So I'll get the docs suggesting that removed.
Description
Trying to use Feliz.Plotly, but getting error message when building
Steps to reproduce
yarn add
ife-loader
:yarn add --dev ife-loader
ife-loader
inwebpack.config.js
(not exactly sure where in the rules list it should be added)dotnet fake build --target run
Expected behavior
Build to succeed
Additional context
Error in console:
Files seem to be there: