@caweb/a11y-webpack-plugin 1.0.3 → 1.0.5
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -135,7 +135,7 @@ class A11yPlugin {
|
|
|
135
135
|
|
|
136
136
|
console.log(`<i> ${boldGreen('[webpack-dev-middleware] Running IBM Accessibility scan...')}`);
|
|
137
137
|
|
|
138
|
-
let result = this.a11yCheck(
|
|
138
|
+
let result = this.a11yCheck('auto' === output.publicPath ? output.path : output.publicPath, this.config );
|
|
139
139
|
|
|
140
140
|
if( result ){
|
|
141
141
|
// we have to inject the a11y.update.js file into the head in order for the webpack-dev-server scripts to load.
|
|
@@ -183,7 +183,7 @@ class A11yPlugin {
|
|
|
183
183
|
outputFolder,
|
|
184
184
|
outputFilenameTimestamp
|
|
185
185
|
}){
|
|
186
|
-
|
|
186
|
+
|
|
187
187
|
let acheckerArgs = [
|
|
188
188
|
'--ruleArchive',
|
|
189
189
|
ruleArchive,
|