@caweb/a11y-webpack-plugin 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* External dependencies
|
|
5
5
|
*/
|
|
6
|
-
import { sync as resolveBin } from 'resolve-bin';
|
|
7
6
|
import spawn from 'cross-spawn';
|
|
8
7
|
import { getAllFilesSync } from 'get-all-files'
|
|
9
8
|
import EntryDependency from "webpack/lib/dependencies/EntryDependency.js";
|
|
@@ -240,7 +239,7 @@ class A11yPlugin {
|
|
|
240
239
|
let outputDir = path.resolve('.', outputFolder );
|
|
241
240
|
|
|
242
241
|
let {stderr, stdout} = spawn.sync(
|
|
243
|
-
|
|
242
|
+
path.resolve(currentPath, '..', '..', 'accessibility-checker', 'bin', 'achecker.js'),
|
|
244
243
|
acheckerArgs,
|
|
245
244
|
{
|
|
246
245
|
stdio: 'pipe'
|