11/*!
2- * Copyright 2017 - 2025 Digital Bazaar, Inc.
2+ * Copyright 2017 - 2026 Digital Bazaar, Inc.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -150,7 +150,7 @@ bedrock.events.on('bedrock-views.bundle.run', async options => {
150150 modules : [
151151 // FIXME: this should be a param
152152 // FIXME: improve this
153- path . dirname ( bedrock . config . views . bundle . paths . input . root ) ,
153+ path . dirname ( bedrock . config . views . bundle . paths . input . root )
154154 ]
155155 }
156156 } ;
@@ -163,7 +163,7 @@ bedrock.events.on('bedrock-views.bundle.run', async options => {
163163 paths,
164164 configs : [
165165 rootConfig ,
166- ...overrideConfigs ,
166+ ...overrideConfigs
167167 ] ,
168168 optimize : options . optimize ,
169169 watch : options . watch
@@ -337,7 +337,7 @@ export async function bundle(options = {}) {
337337 corejs : '3.45' ,
338338 bugfixes : true ,
339339 debug : command . webpackBabelDebug === 'true' ,
340- targets : [ 'defaults' , 'not IE 11' ] ,
340+ targets : [ 'defaults' , 'not IE 11' ]
341341 }
342342 ]
343343 ]
@@ -389,7 +389,7 @@ export async function bundle(options = {}) {
389389 hotReload : hmr ,
390390 prettify : ! isProduction
391391 }
392- } ,
392+ }
393393 /*
394394 // FIXME: fix or remove due to webpack v5 path issues
395395 {
@@ -445,7 +445,7 @@ export async function bundle(options = {}) {
445445 // check if path exists
446446 try {
447447 await fs . promises . access ( root , fs . constants . R_OK ) ;
448- } catch ( e ) {
448+ } catch {
449449 return ;
450450 }
451451 // check current level
@@ -526,12 +526,12 @@ export async function bundle(options = {}) {
526526 terserOptions . terserOptions . output =
527527 terserOptions . terserOptions . output || { } ;
528528 terserOptions . terserOptions . output . comments = {
529- /* eslint-disable quote-props */
529+ /* eslint-disable @stylistic/ quote-props */
530530 'true' : true ,
531531 'all' : 'all' ,
532532 'some' : 'some' ,
533533 'false' : false
534- /* eslint-enable quote-props */
534+ /* eslint-enable @stylistic/ quote-props */
535535 } [ command . webpackJsComments ] ;
536536 }
537537 const cfg = {
@@ -667,7 +667,7 @@ export async function bundle(options = {}) {
667667 // eslint-disable-next-line no-unused-vars
668668 compiler . hooks . invalid . tap ( 'bedrock-webpack' , ( filename , changeTime ) => {
669669 logger . info ( 'watch bundle invalidated' , {
670- filename,
670+ filename
671671 //changeTime
672672 } ) ;
673673 } ) ;
0 commit comments