version for node working
parent
9295e41655
commit
6a56d7a1c2
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,26 @@
|
|||||||
|
var webpack = require('webpack'),
|
||||||
|
path = require('path');
|
||||||
|
|
||||||
|
module.exports = require('./webpack.config.js');
|
||||||
|
|
||||||
|
console.log(path.resolve(__dirname, 'lib/input_stream'));
|
||||||
|
|
||||||
|
module.exports.resolve = {
|
||||||
|
extensions: ['', '.js', '.jsx'],
|
||||||
|
alias: {
|
||||||
|
'input_stream$': path.resolve(__dirname, 'lib/input_stream'),
|
||||||
|
'frame_grabber$': path.resolve(__dirname, 'lib/frame_grabber')
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports.externals = [
|
||||||
|
"get-pixels",
|
||||||
|
"gl-matrix",
|
||||||
|
"lodash",
|
||||||
|
"ndarray",
|
||||||
|
"ndarray-linear-interpolate"
|
||||||
|
];
|
||||||
|
module.exports.output.libraryTarget = "commonjs2";
|
||||||
|
module.exports.plugins = [];
|
||||||
|
module.exports.output.path = __dirname + '/lib';
|
||||||
|
module.exports.output.filename = 'quagga.js';
|
Loading…
Reference in New Issue