Last active
May 21, 2018 06:17
-
-
Save teimurjan/ad0acb4e81a2d7a1a39e82f2e1b346b3 to your computer and use it in GitHub Desktop.
blog-react-applications-optimization
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
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
module.exports = { | |
module: { | |
rules: [ | |
{ | |
oneOf: [ | |
{ | |
test: /\.css$/, | |
loader: ExtractTextPlugin.extract({ | |
/* your loader here */ | |
}) | |
} | |
] | |
} | |
] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment