mirror of https://github.com/TriliumNext/Notes
perf: building improvement
parent
7aa26580ba
commit
30a8c6b579
@ -1,16 +0,0 @@
|
|||||||
const path = require('path');
|
|
||||||
const assetPath = require('./src/services/asset_path');
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
mode: 'production',
|
|
||||||
entry: {
|
|
||||||
mobile: './src/public/app/desktop.js',
|
|
||||||
},
|
|
||||||
output: {
|
|
||||||
publicPath: `${assetPath}/app-dist/`,
|
|
||||||
path: path.resolve(__dirname, 'src/public/app-dist'),
|
|
||||||
filename: 'desktop.js'
|
|
||||||
},
|
|
||||||
devtool: 'source-map',
|
|
||||||
target: 'electron-renderer'
|
|
||||||
};
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
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'
|
|
||||||
};
|
|
||||||
Loading…
Reference in New Issue