mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-02-08 20:39:18 -06:00
Add inline source mapping for debugging Fix web calendar's json conversion being incorrect Start work on getting the calendar styled correctly
24 lines
484 B
JavaScript
24 lines
484 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
mode: "production",
|
|
entry: './web/src/main/javascript/index.ts',
|
|
devtool: "inline-source-map",
|
|
module: {
|
|
rules: [{
|
|
test: /\.tsx?$/,
|
|
use: 'ts-loader',
|
|
exclude: /node_modules/,
|
|
}],
|
|
},
|
|
resolve: {
|
|
extensions: ['.ts', '.tsx', '.js'],
|
|
alias: {
|
|
'@': path.resolve('web/src/main/javascript')
|
|
}
|
|
},
|
|
output: {
|
|
path: path.resolve(__dirname, "web/src/main/resources/static/assets/js"),
|
|
filename: 'bundle.js'
|
|
},
|
|
}; |