Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (process.env.NODE_ENV === "development") {
// Make sure that the custom stylesheet overrides antd css.
import("antd/dist/antd.css").then(() => import("./styles.css"));
} else {
import("./styles.css");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment