2aa18fb77c
* Add a second entry point to the webpack config for the logging window * tauri operations to show a log window * LogViewer react component * Upgrade tauri and use default tauri app menu for MacOS and add `Help` menu with `Show log` entry to show the logging window * wip * Proof of concept * Fix format inside debug with ferm * Put new menubar and log behind env variable flag * Remove unused deps * rustfmt * Add changelog note * Fix up imports * Remove old code * Improve log viewer * Remove old code * Add color to output, even if tauri hides it * Remove redundant level from tauri log msg * Since menu bar visible by default, change feature flag name * Fix up webpack config so correct chunks get injected into entry points and remove inline CSS causing CSP issue Co-authored-by: Mark Sinclair <mmsinclair@gmail.com>
15 lines
264 B
JavaScript
15 lines
264 B
JavaScript
const { default: merge } = require('webpack-merge');
|
|
const common = require('./webpack.common');
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'production',
|
|
node: {
|
|
__dirname: false,
|
|
},
|
|
optimization: {
|
|
splitChunks: {
|
|
chunks: 'all',
|
|
},
|
|
},
|
|
});
|