Skip to content

Commit 5d87dae

Browse files
committed
fixing cs
1 parent 2ea1d2f commit 5d87dae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,6 +1021,7 @@ class Encore {
10211021
/**
10221022
* If enabled, the Stimulus bridge is used to load Stimulus controllers from PHP packages.
10231023
*
1024+
* @param {string} controllerJsonPath Path to the controllers.json file.
10241025
* @returns {Encore}
10251026
*/
10261027
enableStimulusBridge(controllerJsonPath) {

lib/plugins/stimulus-bridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function(plugins, webpackConfig) {
2222
if (webpackConfig.useStimulusBridge) {
2323
loaderFeatures.ensurePackagesExistAndAreCorrectVersion('stimulus');
2424

25-
const createPlugin = require('@symfony/stimulus-bridge/webpack-helper');
25+
const createPlugin = require('@symfony/stimulus-bridge/webpack-helper'); // eslint-disable-line node/no-unpublished-require
2626

2727
plugins.push({
2828
plugin: createPlugin(JSON.parse(fs.readFileSync(webpackConfig.stimulusOptions.controllersJsonPath))),

0 commit comments

Comments
 (0)