Skip to content

Commit bd425d4

Browse files
committed
Remove move operation from webpack config
1 parent 34ef912 commit bd425d4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

webpack.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const path = require('path');
22
const webpack = require('webpack');
3-
const MoveFilePlugin = require('./plugins/MoveFilePlugin');
43

54
// First check if we can load Comunica form cwd, if not, fallback to the default
65
let pathToComunica;
@@ -59,11 +58,6 @@ module.exports = [
5958
jQuery: path.join(__dirname, '/deps/jquery-2.1.0.js'),
6059
}),
6160
new webpack.NormalModuleReplacementPlugin(/^comunica-packagejson$/, (process.platform === 'win32' ? '' : '!!json-loader!') + path.join(pathToComunica, '../../package.json')),
62-
// Include the generated queries.json file by moving it from the current working directory (where it was generated) to the build path.
63-
new MoveFilePlugin(
64-
() => path.join(process.cwd(), 'queries.json'),
65-
() => path.join(__dirname, `${buildContext.dir}/queries.json`)
66-
),
6761
],
6862
module: {
6963
rules: [

0 commit comments

Comments
 (0)