Skip to content

Instantly share code, notes, and snippets.

@userjapa
Created June 1, 2017 12:21
Show Gist options
  • Save userjapa/dc3e133a2cc15ad9ad834e52c1d47810 to your computer and use it in GitHub Desktop.
Save userjapa/dc3e133a2cc15ad9ad834e52c1d47810 to your computer and use it in GitHub Desktop.
module.exports = {
entry : "./entry.js",
output : {
path : __dirname,
filename : "bundle.js"
},
module : {
rules : [
{
test : /\.css$/,
use : [
"style-loader",
"css-loader"
]
},
{
test : /\.js$/,
loader : "babel-loader",
options : {
}
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment