Skip to content

Commit f4e5fb2

Browse files
committed
upgrade webpack from v4 to v5
1 parent e75ee13 commit f4e5fb2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

webpack.config.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,12 @@ const config = {
1111
entry: path.resolve(__dirname, 'index.js'),
1212
// Output
1313
output: {
14-
path: path.resolve(__dirname, `dist/`),
1514
filename: 'terminusdb-client.min.js',
1615
sourceMapFilename: 'terminusdb-client.min.js.map',
1716
libraryTarget: 'umd',
1817
library: 'TerminusDBClient',
1918
globalObject: 'this',
2019
},
21-
node: {
22-
process: false,
23-
},
2420
// Loaders
2521
module: {
2622
rules: [
@@ -33,7 +29,12 @@ const config = {
3329
],
3430
},
3531
devtool: 'source-map',
36-
// Plugins
32+
// Plugins
33+
resolve: {
34+
fallback: {
35+
"https": false,
36+
}
37+
}
3738
}
3839

3940
module.exports = function(env, argv) {

0 commit comments

Comments
 (0)