diff --git a/package.json b/package.json index ab0cb4c7..b6e21f43 100644 --- a/package.json +++ b/package.json @@ -86,7 +86,7 @@ "prettier": "3.0.0", "rimraf": "5.0.1", "rollup": "3.26.3", - "rollup-plugin-swc3": "0.9.0", + "rollup-plugin-swc3": "0.9.1", "sass": "1.64.0", "semver": "7.5.4", "tslib": "2.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 249dee1c..677cdf3d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -69,8 +69,8 @@ devDependencies: specifier: 3.26.3 version: 3.26.3 rollup-plugin-swc3: - specifier: 0.9.0 - version: 0.9.0(@swc/core@1.3.70)(rollup@3.26.3) + specifier: 0.9.1 + version: 0.9.1(@swc/core@1.3.70)(rollup@3.26.3) sass: specifier: 1.64.0 version: 1.64.0 @@ -4249,19 +4249,30 @@ packages: glob: 10.2.5 dev: true - /rollup-plugin-swc3@0.9.0(@swc/core@1.3.70)(rollup@3.26.3): - resolution: {integrity: sha512-b5OjzeD9F5H6hmtHqI6GJkPiJPyUrIu9cjvvjv4OOMW79nukmmd8QJLqrVxsJk7Y3vZXOzOgBSzKLkCM/Jt5Vw==} + /rollup-plugin-swc3@0.9.1(@swc/core@1.3.70)(rollup@3.26.3): + resolution: {integrity: sha512-vEWpSOmWHfgNANgZ4a1+KAH8fhwfgSXAwOsIC8d3Spj0Th9PkMxREhurXkmCqLYqX5vXi2cW4MUG+cSGIhtyyg==} engines: {node: '>=12'} peerDependencies: '@swc/core': '>=1.2.165' rollup: ^2.0.0 || ^3.0.0 dependencies: '@fastify/deepmerge': 1.3.0 - '@napi-rs/magic-string': 0.3.4 '@rollup/pluginutils': 4.2.1 '@swc/core': 1.3.70 get-tsconfig: 4.6.2 rollup: 3.26.3 + rollup-swc-preserve-directives: 0.3.0(@swc/core@1.3.70)(rollup@3.26.3) + dev: true + + /rollup-swc-preserve-directives@0.3.0(@swc/core@1.3.70)(rollup@3.26.3): + resolution: {integrity: sha512-AsSc4E+SDy4dVCMqtGSbk8bC+Knt6CNWUsDiuyclDyorwYVLqxyATK4GiovV+Mj67MkQgE5fxrqudq70t4zZsQ==} + peerDependencies: + '@swc/core': '>=1.2.165' + rollup: ^2.0.0 || ^3.0.0 + dependencies: + '@napi-rs/magic-string': 0.3.4 + '@swc/core': 1.3.70 + rollup: 3.26.3 dev: true /rollup@3.26.3: