Skip to content

Commit

Permalink
Fix: remove Quagga namespace from commonjs export for node (fix #108)
Browse files Browse the repository at this point in the history
- This should complete the fix for issue #108
  • Loading branch information
ericblade committed Jan 16, 2020
1 parent 2eaa15b commit 18db791
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configs/webpack.node.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports.externals = [
'ndarray-linear-interpolate',
];
module.exports.output.libraryTarget = 'commonjs';
module.exports.output.library = 'Quagga';
module.exports.output.library = undefined;
module.exports.plugins = [
new webpack.DefinePlugin({
ENV: require(path.join(__dirname, './env/', process.env.BUILD_ENV)),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ericblade/quagga2",
"version": "0.0.15",
"version": "0.0.16",
"description": "An advanced barcode-scanner written in JavaScript",
"main": "lib/quagga.js",
"types": "type-definitions/quagga.d.ts",
Expand Down

0 comments on commit 18db791

Please sign in to comment.