mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-15 15:10:31 -08:00
fix: @vercel/webpack-asset-relocator-loader not installed...
This commit is contained in:
parent
e5f3e010f2
commit
48193a4918
3 changed files with 25 additions and 11 deletions
|
|
@ -16,17 +16,17 @@ module.exports = {
|
|||
module: {
|
||||
rules: [
|
||||
...require('./webpack.rules'),
|
||||
// {
|
||||
// test: /\.(m?js|node)$/,
|
||||
// parser: { amd: true },
|
||||
// use: {
|
||||
// loader: '@vercel/webpack-asset-relocator-loader',
|
||||
// options: {
|
||||
// outputAssetBase: 'native_modules',
|
||||
// emitDirnameAll: true,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
{
|
||||
test: /\.(m?js|node)$/,
|
||||
parser: { amd: false },
|
||||
use: {
|
||||
loader: '@vercel/webpack-asset-relocator-loader',
|
||||
options: {
|
||||
outputAssetBase: 'native_modules',
|
||||
// emitDirnameAll: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: plugins.main,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue