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

13301
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -45,6 +45,7 @@
"jest": "^27.0.4",
"jest-extended": "^0.11.5",
"path": "^0.12.7",
"process": "^0.11.10",
"rimraf": "^3.0.2",
"semantic-release": "^17.4.3",
"terser-webpack-plugin": "^5.1.3",

View File

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