You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
451 B
22 lines
451 B
'use strict'; |
|
|
|
const path = require('path'); |
|
|
|
module.exports = { |
|
entry: path.resolve(__dirname, 'src/index.js'), |
|
output: { |
|
path: path.resolve(__dirname, 'assets'), |
|
filename: 'bundle.js' |
|
}, |
|
module: { |
|
rules: [ |
|
{ |
|
test: /\.js$/, |
|
exclude: /node_modules/, |
|
use: { |
|
loader: 'babel-loader' |
|
} |
|
} |
|
] |
|
} |
|
};
|
|
|