diff --git a/packages/cesium-extends/rollup.config.js b/packages/cesium-extends/rollup.config.js index a400b68..a8ab3a7 100644 --- a/packages/cesium-extends/rollup.config.js +++ b/packages/cesium-extends/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: 'json' }; const external = [ ...builtinModules, diff --git a/packages/common/rollup.config.js b/packages/common/rollup.config.js index a400b68..18f1151 100644 --- a/packages/common/rollup.config.js +++ b/packages/common/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/compass/rollup.config.js b/packages/compass/rollup.config.js index 025c84c..3499f49 100644 --- a/packages/compass/rollup.config.js +++ b/packages/compass/rollup.config.js @@ -3,7 +3,7 @@ import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import styles from 'rollup-plugin-styles'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/drawer/rollup.config.js b/packages/drawer/rollup.config.js index a400b68..18f1151 100644 --- a/packages/drawer/rollup.config.js +++ b/packages/drawer/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/geojson-render/rollup.config.js b/packages/geojson-render/rollup.config.js index a400b68..18f1151 100644 --- a/packages/geojson-render/rollup.config.js +++ b/packages/geojson-render/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/heat/rollup.config.js b/packages/heat/rollup.config.js index a400b68..18f1151 100644 --- a/packages/heat/rollup.config.js +++ b/packages/heat/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/measure/rollup.config.js b/packages/measure/rollup.config.js index a400b68..18f1151 100644 --- a/packages/measure/rollup.config.js +++ b/packages/measure/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/popup/rollup.config.js b/packages/popup/rollup.config.js index a400b68..18f1151 100644 --- a/packages/popup/rollup.config.js +++ b/packages/popup/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/primitive-geojson/rollup.config.js b/packages/primitive-geojson/rollup.config.js index a400b68..18f1151 100644 --- a/packages/primitive-geojson/rollup.config.js +++ b/packages/primitive-geojson/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/subscriber/rollup.config.js b/packages/subscriber/rollup.config.js index a400b68..18f1151 100644 --- a/packages/subscriber/rollup.config.js +++ b/packages/subscriber/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/sync-viewer/rollup.config.js b/packages/sync-viewer/rollup.config.js index a400b68..18f1151 100644 --- a/packages/sync-viewer/rollup.config.js +++ b/packages/sync-viewer/rollup.config.js @@ -2,7 +2,7 @@ import { builtinModules } from 'module'; import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/tooltip/rollup.config.js b/packages/tooltip/rollup.config.js index 025c84c..3499f49 100644 --- a/packages/tooltip/rollup.config.js +++ b/packages/tooltip/rollup.config.js @@ -3,7 +3,7 @@ import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import styles from 'rollup-plugin-styles'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules, diff --git a/packages/zoom-controller/rollup.config.js b/packages/zoom-controller/rollup.config.js index 025c84c..3499f49 100644 --- a/packages/zoom-controller/rollup.config.js +++ b/packages/zoom-controller/rollup.config.js @@ -3,7 +3,7 @@ import esbuild from 'rollup-plugin-esbuild'; import dts from 'rollup-plugin-dts'; import styles from 'rollup-plugin-styles'; import { defineConfig } from 'rollup'; -import pkg from './package.json' assert { type: 'json' }; +import pkg from './package.json' with { type: "json" }; const external = [ ...builtinModules,