mirror of
https://github.com/zadam/trilium.git
synced 2025-10-09 23:18:46 +08:00
19 lines
445 B
JavaScript
19 lines
445 B
JavaScript
const { NxAppWebpackPlugin } = require('@nx/webpack/app-plugin');
|
|
const { join } = require('path');
|
|
|
|
module.exports = {
|
|
output: {
|
|
path: join(__dirname, 'dist'),
|
|
},
|
|
plugins: [
|
|
new NxAppWebpackPlugin({
|
|
target: 'node',
|
|
compiler: 'tsc',
|
|
main: './src/electron-docs-main.ts',
|
|
tsConfig: './tsconfig.app.json',
|
|
optimization: false,
|
|
outputHashing: 'none',
|
|
generatePackageJson: true,
|
|
})
|
|
],
|
|
};
|