Skip to content

Commit

Permalink
Update for derby-3 (#25)
Browse files Browse the repository at this point in the history
* Update App require

* Add peerDependency on derby
  • Loading branch information
craigbeck authored Oct 11, 2023
1 parent 54df56c commit 1f2ae0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if (process.title === 'browser') {
const App = require('derby/lib/App');
const App = require('derby/App').App;

App.prototype._views = function () {
const appName = this.name;
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"webpack-hot-middleware": "^2.25.2",
"webpack-manifest-plugin": "^5.0.0",
"webpack-virtual-modules": "^0.5.0"
},
"peerDependencies": {
"derby": "3.0.0-beta.4 || ^3.0.0"
}
}

0 comments on commit 1f2ae0e

Please sign in to comment.