Skip to content

Commit

Permalink
Mark turbo-morph as devDependency and bundle it up with dist
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Feb 14, 2023
1 parent 82b9744 commit 2b4aebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@
"sinon": "^15.0.1",
"sourcemap": "^0.1.0",
"tslib": "^2.5.0",
"turbo-morph": "^0.2.0",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@hotwired/turbo": ">= 7.2"
},
"dependencies": {
"turbo-morph": "^0.2.0"
}
}
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const banner = `/*\n * TurboPower ${version}\n */`
export default [
{
input: "src/index.ts",
external: ["@hotwired/turbo", "turbo-morph"],
external: ["@hotwired/turbo"],
output: [
{
name: "TurboPower",
Expand All @@ -17,7 +17,6 @@ export default [
banner,
globals: {
"@hotwired/turbo": "Turbo",
"turbo-morph": "TurboMorph",
},
},
{
Expand Down

0 comments on commit 2b4aebd

Please sign in to comment.