module.exports = [ { test: /\.node$/, use: "node-loader", }, { test: /\.(m?js|node)$/, parser: { amd: false }, use: { loader: "@marshallofsound/webpack-asset-relocator-loader", options: { outputAssetBase: "native_modules", }, }, }, ];