Created
June 18, 2017 00:27
-
-
Save devonzuegel/290d507a1cfb1a81427a34c91a2abaf4 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
import * as webpack from 'webpack' | |
interface Config extends webpack.Configuration { | |
module: { | |
rules: webpack.NewUseRule[] | |
} | |
} | |
const config: Config = { | |
module: { | |
rules: [{ | |
test: /\.css$/, // Match any files that end with ".css" | |
use: 'style-loader', // Pipe these files through style-loader upon import | |
}] | |
} | |
} | |
export default config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment