blueprint
blueprint copied to clipboard
Source map warnings in Create-React-App 5
Environment
-
Package version(s): "@blueprintjs/core": "^4.2.1", "@blueprintjs/datetime": "^4.1.4", "@blueprintjs/popover2": "^1.1.4", "@blueprintjs/select": "^4.1.4",
-
Operating System: Mac OS Monterey 12.2.1
-
Browser name and version: Chrome Version 100.0.4896.127 (Build officiel) (x86_64)
Code Sandbox
https://codesandbox.io/s/romantic-swirles-f6w5g9
The issue is not visible in CodeSandbox console but you can find source map errors in browser console. May need to play with console options as css warnings can be hidden.
Steps to reproduce
- Create a react app with CRA in version 5
- Install blueprintjs and import them
e.g :
import '@blueprintjs/core/lib/css/blueprint.css' import '@blueprintjs/icons/lib/css/blueprint-icons.css' import '@blueprintjs/datetime/lib/css/blueprint-datetime.css' import '@blueprintjs/select/lib/css/blueprint-select.css' import '@blueprintjs/popover2/lib/css/blueprint-popover2.css'
- Start the app
Actual behavior

Expected behavior
No source map errors
I find these two issues related but i still have the problem :
https://github.com/palantir/blueprint/issues/5111
https://github.com/palantir/blueprint/issues/3500
@LoiKos is this still a problem in recent versions of Blueprint?
@adidahiya this is fine now. My bad i should have close this issue !