mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 11:43:59 -05:00
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
|
const CopyPlugin = require('copy-webpack-plugin');
|
||
|
|
||
|
module.exports = {
|
||
|
webpack: {
|
||
|
plugins: [
|
||
|
new CopyPlugin({
|
||
|
patterns: [
|
||
|
{ from: 'node_modules/@hpcc-js/wasm/dist/graphvizlib.wasm', to: 'static/js' },
|
||
|
{ from: 'node_modules/@hpcc-js/wasm/dist/expatlib.wasm', to: 'static/js' }
|
||
|
],
|
||
|
}),
|
||
|
],
|
||
|
},
|
||
|
}
|