Webpack config #64
Unanswered
ByteWither
asked this question in
Q&A
Replies: 0 comments 9 replies
-
Hi, and welcome! Could you confirm the version of |
Beta Was this translation helpful? Give feedback.
6 replies
-
foxglove/create-foxglove-extension#32 has been merged and v0.4.0 of the package has been released. You should be able to provide your own |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm a Junior Frontend developer and I'm developing an extension for Studio for my graduate work. As part of my introduction to foxglove, I'm trying to develop from scratch and then refine the extension based on the Map panel.
I encountered an error while setting up the environment and compiling the test extension.
After
yarn local-install
I received a message:As I understand, this error is caused by importing leaflet.css.
Usually when developing in the browser I specify in webpack.config.js loaders to handle CSS and SASS. But in this case I don't quite understand how to do it. I tried just adding the config to the project for webpack, but that didn't work. I suspect it's because @foxglove only uses their configs.
Question: how can I add my rules/configs for the webpack so that @foxglove sees them when building? If there is no such way, how can I get around this error?
You can do a
git clone 'https://github.com/Moloko20/gw-extension'
to reproduce the error.Beta Was this translation helpful? Give feedback.
All reactions