Fix image addon build

Fixes #4761
Fixes #4802
This commit is contained in:
Daniel Imms
2023-11-01 12:13:19 -07:00
parent 4b2e52f13c
commit 1c522e16a4
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -21,6 +21,14 @@ const addon = {
}
]
},
resolve: {
modules: ['./node_modules'],
extensions: [ '.js' ],
alias: {
common: path.resolve('../../out/common'),
browser: path.resolve('../../out/browser')
}
},
output: {
filename: mainFile,
path: path.resolve('./lib'),