Skip to content

Commit d37b0ec

Browse files
Merge pull request #32 from terminusdb/fix_run_npm
Fix missing env arguments in webpack_dev
2 parents 872284f + 18380c8 commit d37b0ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tdb-dashboard/webpack_dev.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path')
22
const webpack = require('webpack')
33
const Dotenv = require('dotenv-webpack')
44
const HtmlWebPackPlugin = require("html-webpack-plugin");
5-
module.exports = {
5+
module.exports = (env, argv) => ({
66
mode: 'development',
77
context: __dirname,
88
//devtool: 'inline-source-map',
@@ -115,7 +115,7 @@ module.exports = {
115115
}
116116
]
117117
}
118-
}
118+
})
119119

120120
/*"@terminusdb/terminusdb-react-components": path.resolve('../../../terminusdb-react-components/src/index.js'),*/
121121

0 commit comments

Comments
 (0)