Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Webpack loader example
module.exports = {
module: {
rules: [
{
test: /\.filename1$/,
use: ["loader-b", "loader-a"]
},
{
test: /\.filename2$/,
use: ["loader-d", "loader-c"]
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment