Last active
April 18, 2019 11:05
-
-
Save liranh85/0cdb57c899a7930aed0da603be4ac1ca to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// create-react-app v2.1.8, webpack.config.js, line 69 | |
const getStyleLoaders = (cssOptions, preProcessor) => { | |
const loaders = [ | |
isEnvDevelopment && { | |
loader: require.resolve('style-loader'), | |
options: { | |
insertInto: () => document.getElementById('root').shadowRoot, | |
} | |
}, | |
// ... | |
].filter(Boolean); | |
// ... | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment