mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
20 lines
445 B
JavaScript
20 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,
|
||
|
})
|
||
|
],
|
||
|
};
|