diff --git a/Resources/package.json b/Resources/package.json index 0d2e198..5d3ab5c 100755 --- a/Resources/package.json +++ b/Resources/package.json @@ -1,6 +1,6 @@ { "name": "fos-router", - "version": "2.4.6", + "version": "2.5.0", "description": "A pretty nice way to use the routes generated by the FOSJsRoutingBundle in your JavaScript.", "keywords": [ "router", @@ -49,6 +49,6 @@ "prepublish": "npm run build" }, "dependencies": { - "webpack-inject-plugin": "^1.5.5" + "@bpnetguy/webpack-inject-plugin": "^2.0.4" } } diff --git a/Resources/webpack/FosRouting.js b/Resources/webpack/FosRouting.js index e99ff1a..1fc02ed 100644 --- a/Resources/webpack/FosRouting.js +++ b/Resources/webpack/FosRouting.js @@ -5,7 +5,7 @@ const fs = require('fs'); const path = require('path'); const util = require('util'); -const InjectPlugin = require('webpack-inject-plugin').default; +const InjectPlugin = require('@bpnetguy/webpack-inject-plugin').default; const execFile = util.promisify(require('child_process').execFile); const readFile = util.promisify(fs.readFile);