parent
b873f89193
commit
927d22ad4c
@ -0,0 +1,19 @@
|
|||||||
|
module.exports = {
|
||||||
|
entry: './js/index.js',
|
||||||
|
output: {
|
||||||
|
filename: 'dist/bundle.js'
|
||||||
|
},
|
||||||
|
module: {
|
||||||
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.(js|jsx)$/,
|
||||||
|
use: {
|
||||||
|
loader: 'babel-loader',
|
||||||
|
options: {
|
||||||
|
presets: ["es2015", "react"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
};
|
||||||
Loading…
Reference in new issue