Skip to content

Commit 2b4aebd

Browse files
committed
Mark turbo-morph as devDependency and bundle it up with dist
1 parent 82b9744 commit 2b4aebd

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,10 @@
4141
"sinon": "^15.0.1",
4242
"sourcemap": "^0.1.0",
4343
"tslib": "^2.5.0",
44+
"turbo-morph": "^0.2.0",
4445
"typescript": "^4.9.5"
4546
},
4647
"peerDependencies": {
4748
"@hotwired/turbo": ">= 7.2"
48-
},
49-
"dependencies": {
50-
"turbo-morph": "^0.2.0"
5149
}
5250
}

rollup.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const banner = `/*\n * TurboPower ${version}\n */`
88
export default [
99
{
1010
input: "src/index.ts",
11-
external: ["@hotwired/turbo", "turbo-morph"],
11+
external: ["@hotwired/turbo"],
1212
output: [
1313
{
1414
name: "TurboPower",
@@ -17,7 +17,6 @@ export default [
1717
banner,
1818
globals: {
1919
"@hotwired/turbo": "Turbo",
20-
"turbo-morph": "TurboMorph",
2120
},
2221
},
2322
{

0 commit comments

Comments
 (0)