mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
chore: format the output so it can be clicked
https://github.com/evanw/node-source-map-support/issues/296#issuecomment-1019542193
This commit is contained in:
parent
0612ee8ae6
commit
056bc2706c
2 changed files with 16 additions and 1 deletions
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-disable @typescript-eslint/no-unsafe-argument */
|
||||
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
||||
/* eslint-disable unicorn/prefer-module */
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const rules = require('./webpack.rules');
|
||||
|
|
@ -15,7 +17,13 @@ module.exports = {
|
|||
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css'],
|
||||
fallback: { crypto: false },
|
||||
},
|
||||
output: { chunkFilename: 'main_window/[name].chunk.js', publicPath: '../' },
|
||||
output: {
|
||||
chunkFilename: 'main_window/[name].chunk.js',
|
||||
publicPath: '../',
|
||||
devtoolModuleFilenameTemplate: (info) => {
|
||||
return `file:///${encodeURI(info.absoluteResourcePath)}`;
|
||||
},
|
||||
},
|
||||
cache: {
|
||||
type: 'filesystem',
|
||||
buildDependencies: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue