trilium/webpack-setup.config.js
2021-12-24 22:18:05 +01:00

15 lines
346 B
JavaScript

const path = require('path');
module.exports = {
mode: 'production',
entry: {
mobile: './src/public/app/setup.js',
},
output: {
publicPath: 'app-dist/',
path: path.resolve(__dirname, 'src/public/app-dist'),
filename: 'setup.js'
},
devtool: 'source-map',
target: 'electron-renderer'
};