1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

fix(build): provide process module for compatibility with browser

This commit is contained in:
Krishna Acondy
2021-06-08 08:42:48 +01:00
parent 83fa82108b
commit 5593963b89
3 changed files with 38 additions and 13267 deletions

View File

@@ -40,6 +40,9 @@ const browserConfig = {
filename: null,
exclude: [/node_modules/],
test: /\.ts($|\?)/i
}),
new webpack.ProvidePlugin({
process: 'process/browser'
})
]
}