gdbgui/webpack.config.js
2018-04-15 14:59:38 -07:00

31 lines
570 B
JavaScript

const path = require('path');
module.exports = {
entry: './gdbgui/src/js/gdbgui.jsx',
devtool: 'source-map',
performance: {
hints: false
},
output: {
path: path.resolve(__dirname, 'gdbgui/static/js/'),
filename: 'build.js'
},
module: {
rules: [
{ test: /\.js$/,
use: [
'babel-loader',
'eslint-loader',
],
exclude: /node_modules/
},
{ test: /\.jsx$/,
use: [
'babel-loader',
'eslint-loader',
],
exclude: /node_modules/
}
]
}
}