mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 19:55:10 +08:00
16 lines
416 B
JavaScript
16 lines
416 B
JavaScript
const path = require('path');
|
|
const assetPath = require('./src/services/asset_path');
|
|
|
|
module.exports = {
|
|
mode: 'production',
|
|
entry: {
|
|
mobile: './src/public/app/setup.js',
|
|
},
|
|
output: {
|
|
publicPath: `/${assetPath}/app-dist/`,
|
|
path: path.resolve(__dirname, 'src/public/app-dist'),
|
|
filename: 'setup.js'
|
|
},
|
|
devtool: 'source-map',
|
|
target: 'electron-renderer'
|
|
};
|