mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
Update webpack.main.config.js
This commit is contained in:
parent
ccf3afce33
commit
1185edb1f9
1 changed files with 2 additions and 2 deletions
|
|
@ -18,12 +18,12 @@ module.exports = {
|
|||
...require('./webpack.rules'),
|
||||
{
|
||||
test: /\.(m?js|node)$/,
|
||||
parser: { amd: false },
|
||||
parser: { amd: true },
|
||||
use: {
|
||||
loader: '@vercel/webpack-asset-relocator-loader',
|
||||
options: {
|
||||
outputAssetBase: 'native_modules',
|
||||
// emitDirnameAll: true,
|
||||
emitDirnameAll: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue