Skip to content

Commit 7fdfafa

Browse files
committed
Update rollup
1 parent 09f9181 commit 7fdfafa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: packages/turbo-mount/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"devDependencies": {
9393
"@babel/types": "^7.24.5",
9494
"@rollup/plugin-alias": "^5.1.0",
95+
"@rollup/plugin-terser": "^0.4.4",
9596
"@rollup/plugin-typescript": "^11.1.6",
9697
"@types/react": "^18.3.1",
9798
"@types/react-dom": "^18.3.0",
@@ -103,8 +104,7 @@
103104
"prettier": "^3.2.5",
104105
"react": ">= 17.0",
105106
"react-dom": ">= 17.0",
106-
"rollup": "^2.79.1",
107-
"rollup-plugin-terser": "^7.0.2",
107+
"rollup": "^4.22.4",
108108
"stimulus-vite-helpers": ">= 3.0",
109109
"svelte": ">= 3.0",
110110
"tslib": "^2.6.2",

Diff for: packages/turbo-mount/rollup.config.js renamed to packages/turbo-mount/rollup.config.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import * as path from "node:path";
22
import * as fs from "node:fs";
33
import alias from '@rollup/plugin-alias';
44
import typescript from "@rollup/plugin-typescript";
5-
import {terser} from "rollup-plugin-terser";
5+
import terser from "@rollup/plugin-terser";
66

7-
const pluginsPath = path.resolve(__dirname, 'src', 'plugins');
7+
const pluginsPath = path.resolve(path.dirname('.'), 'src', 'plugins');
88

99
const external = [
1010
"@hotwired/stimulus",

0 commit comments

Comments
 (0)