mirror of
https://github.com/cs01/gdbgui
synced 2024-11-17 07:48:57 +01:00
31 lines
570 B
JavaScript
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/
|
|
}
|
|
]
|
|
}
|
|
}
|