Created
December 1, 2018 19:31
-
-
Save dance2die/81217485264ccab442ad58026f245433 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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