mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
added webpack
This commit is contained in:
14
webpack-desktop.config.js
Normal file
14
webpack-desktop.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
mode: 'production',
|
||||
entry: {
|
||||
mobile: './src/public/javascripts/desktop.js',
|
||||
},
|
||||
output: {
|
||||
publicPath: 'dist/',
|
||||
path: path.resolve(__dirname, 'src/public/dist'),
|
||||
filename: 'desktop.js'
|
||||
},
|
||||
devtool: 'source-map'
|
||||
};
|
||||
Reference in New Issue
Block a user