mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-26 14:12:29 +00:00
23 lines
356 B
JavaScript
23 lines
356 B
JavaScript
|
const path = require('path')
|
||
|
|
||
|
module.exports = {
|
||
|
entry: './src/index.ts',
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.tsx?$/,
|
||
|
use: 'ts-loader',
|
||
|
exclude: /node_modules/
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
resolve: {
|
||
|
extensions: ['.tsx', '.ts', '.js']
|
||
|
},
|
||
|
output: {
|
||
|
filename: 'bundle.js',
|
||
|
path: path.resolve(__dirname, 'dist')
|
||
|
}
|
||
|
}
|
||
|
|