naveedmm opened a new issue #17483: URL: https://github.com/apache/superset/issues/17483
A clear and concise description of what the bug is. #### How to reproduce the bug 1. Creating viz plugin 2. Using react-leaflet 3. import 'leaflet/dist/leaflet.css'; 4. using dev-server and my plugin is added through npm link 5. See error ERROR in ../../superset-ui/plugins/plugin-chart-hello-world/node_modules/leaflet/dist/leaflet.css 3:0 Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders ### Additional context { test: /\.css$/, include: [APP_DIR, /superset-ui.+\/src/], use: [ isDevMode ? 'style-loader' : MiniCssExtractPlugin.loader, { loader: 'css-loader', options: { sourceMap: isDevMode, }, }, ], }, Unable to edit web.config.js of superset to test any other configuration, beacuse webconfig fails on other files -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
