@sanity/pkg-utils 6.8.19-canary.0 → 6.8.19-canary.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/pkg-utils",
3
- "version": "6.8.19-canary.0",
3
+ "version": "6.8.19-canary.1",
4
4
  "description": "Simple utilities for modern npm packages.",
5
5
  "keywords": [
6
6
  "sanity-io",
@@ -145,7 +145,7 @@
145
145
  "typescript": "5.4.5",
146
146
  "vitest": "^1.6.0",
147
147
  "vitest-github-actions-reporter": "^0.11.1",
148
- "@sanity/pkg-utils": "6.8.19-canary.0"
148
+ "@sanity/pkg-utils": "6.8.19-canary.1"
149
149
  },
150
150
  "peerDependencies": {
151
151
  "babel-plugin-react-compiler": "*",
@@ -2,7 +2,7 @@ import path from 'node:path'
2
2
 
3
3
  import {optimizeLodashImports} from '@optimize-lodash/rollup-plugin'
4
4
  import alias from '@rollup/plugin-alias'
5
- import {getBabelOutputPlugin} from '@rollup/plugin-babel'
5
+ import {babel, getBabelOutputPlugin} from '@rollup/plugin-babel'
6
6
  import commonjs from '@rollup/plugin-commonjs'
7
7
  import json from '@rollup/plugin-json'
8
8
  import {nodeResolve} from '@rollup/plugin-node-resolve'
@@ -96,7 +96,7 @@ export function resolveRollupConfig(
96
96
  commonjs(),
97
97
  json(),
98
98
  config?.babel?.reactCompiler &&
99
- getBabelOutputPlugin({
99
+ babel({
100
100
  babelrc: false,
101
101
  presets: ['@babel/preset-typescript'],
102
102
  plugins: [['babel-plugin-react-compiler', {}]],