Skip to content

feat(no-inject-style): Added second build witouth style injection#720

Open
marcinm2h wants to merge 1 commit intohc-oss:masterfrom
marcinm2h:no-inject-style
Open

feat(no-inject-style): Added second build witouth style injection#720
marcinm2h wants to merge 1 commit intohc-oss:masterfrom
marcinm2h:no-inject-style

Conversation

@marcinm2h
Copy link

@marcinm2h marcinm2h commented Dec 9, 2023

Created a second build for the CSP problem when using recommended strict policy on production.

import { MultiSelect } from "react-multi-select-component";

Would be changed (if needed) to:

import { MultiSelect } from "react-multi-select-component/no-inject-style";
import  "react-multi-select-component/no-inject-style/index.css";

Should help with those issues also.

#655
#516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant