30 lines
538 B
JavaScript
30 lines
538 B
JavaScript
// Copyright 2017-2018 Jaco Greeff
|
|
// This software may be modified and distributed under the terms
|
|
// of the ISC license. See the LICENSE file for details.
|
|
// @flow
|
|
|
|
module.exports = {
|
|
context: __dirname,
|
|
entry: './src/demo.js',
|
|
mode: 'development',
|
|
output: {
|
|
path: __dirname,
|
|
filename: './demo.js'
|
|
},
|
|
resolve: {
|
|
alias: {}
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /(node_modules)/,
|
|
use: {
|
|
loader: 'babel-loader'
|
|
}
|
|
}
|
|
]
|
|
},
|
|
plugins: []
|
|
};
|