Skip to content

Instantly share code, notes, and snippets.

@vamsiampolu
Created April 21, 2016 08:27
Show Gist options
  • Save vamsiampolu/d046f28aca7ac8bfa96ff35b7797b483 to your computer and use it in GitHub Desktop.
Save vamsiampolu/d046f28aca7ac8bfa96ff35b7797b483 to your computer and use it in GitHub Desktop.
Webpack loader configuration
module.exports = {
entry:’./app.js’,
output:{
filename:’bundle.js’,
path:’./build’
},
module:{
loaders:[
{
test:regexp_here,
loaders:[
'loader-1',
'loader-2?a=b&c=d'
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment