trilium/webpack-setup.config.js

16 lines
346 B
JavaScript
Raw Normal View History

2020-04-15 03:57:42 +08:00
const path = require('path');
module.exports = {
mode: 'production',
entry: {
mobile: './src/public/app/setup.js',
},
output: {
2020-04-16 03:49:36 +08:00
publicPath: 'app-dist/',
2020-04-15 03:57:42 +08:00
path: path.resolve(__dirname, 'src/public/app-dist'),
filename: 'setup.js'
},
2021-12-24 06:01:25 +08:00
devtool: 'source-map',
2021-12-25 05:18:05 +08:00
target: 'electron-renderer'
2021-12-24 06:01:25 +08:00
};