Skip to content

Commit 638799a

Browse files
committed
allowing version 2 of stimulus-bridge
1 parent 97258c3 commit 638799a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/plugins/stimulus-bridge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = function(plugins, webpackConfig) {
3939
return;
4040
}
4141

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

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@babel/preset-react": "^7.0.0",
5858
"@babel/preset-typescript": "^7.0.0",
5959
"@symfony/mock-module": "file:fixtures/stimulus/mock-module",
60-
"@symfony/stimulus-bridge": "^1.1.0",
60+
"@symfony/stimulus-bridge": "^1.1.0 || ^2.0.0",
6161
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
6262
"@vue/babel-preset-jsx": "^1.0.0",
6363
"@vue/compiler-sfc": "^3.0.2",

0 commit comments

Comments
 (0)