trilium/webpack-mobile.config.js

14 lines
314 B
JavaScript
Raw Normal View History

2020-04-12 20:22:51 +08:00
const path = require('path');
module.exports = {
mode: 'production',
entry: {
2020-04-15 03:57:42 +08:00
mobile: './src/public/app/mobile.js',
2020-04-12 20:22:51 +08:00
},
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'),
2020-04-12 20:22:51 +08:00
filename: 'mobile.js'
},
devtool: 'source-map'
};