Fix JavaScript sourcemap paths to show full file locations Implement --build-debug flag and complete Build UI streaming Add xterm.js terminal UI and fix asset path routing Add RSpade Build UI service with WebSocket support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
648 B
JavaScript
Executable File
28 lines
648 B
JavaScript
Executable File
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './src/app.js',
|
|
output: {
|
|
filename: 'bundle.js',
|
|
path: path.resolve(__dirname, 'public', 'dist'),
|
|
clean: true
|
|
},
|
|
mode: 'development',
|
|
devtool: 'source-map',
|
|
watch: false, // Controlled by npm scripts
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
exclude: /node_modules/,
|
|
use: {
|
|
loader: 'babel-loader',
|
|
options: {
|
|
presets: ['@babel/preset-env']
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
};
|