Skip to content

Commit

Permalink
fix(release): import json with { type: "json" }
Browse files Browse the repository at this point in the history
  • Loading branch information
hongfaqiu committed Nov 25, 2024
1 parent 6d79c68 commit 5f533a2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/cesium-extends/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/common/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/compass/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/drawer/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/geojson-render/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/heat/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/measure/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/popup/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/primitive-geojson/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/subscriber/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/sync-viewer/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/tooltip/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/zoom-controller/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5f533a2

Please sign in to comment.