mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 01:34:05 +08:00
15 lines
350 B
JavaScript
15 lines
350 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
entry: {
|
|
mobile: './src/public/app/desktop.js',
|
|
},
|
|
output: {
|
|
publicPath: 'app-dist/',
|
|
path: path.resolve(__dirname, 'src/public/app-dist'),
|
|
filename: 'desktop.js'
|
|
},
|
|
devtool: 'source-map',
|
|
target: 'electron-renderer'
|
|
};
|