mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
15 lines
334 B
JavaScript
15 lines
334 B
JavaScript
|
module.exports = {
|
||
|
test: [
|
||
|
/tesseract\.js\/dist\/worker\.min\.js$/,
|
||
|
/tesseract\.js\/dist\/worker\.min\.js.map$/,
|
||
|
/tesseract\.js-core\/tesseract-core\.wasm$/,
|
||
|
/tesseract\.js-core\/tesseract-core\.wasm.js$/,
|
||
|
],
|
||
|
use: {
|
||
|
loader: 'file-loader',
|
||
|
options: {
|
||
|
name: 'ocr/[name]-[hash].[ext]',
|
||
|
},
|
||
|
},
|
||
|
};
|