Skip to content

Commit

Permalink
feat: remove the tip about sourcemap of Cesium. Because it was fixed …
Browse files Browse the repository at this point in the history
…in v1.118. Refer to CesiumGS/cesium#11993
  • Loading branch information
s3xysteak committed Jun 17, 2024
1 parent f25c989 commit 16b8453
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { Plugin } from 'vite'
import { consola } from 'consola'

import { viteExternalsPlugin } from 'vite-plugin-externals'

Expand All @@ -8,8 +7,6 @@ import { type BuildCesiumOptions, copyCesium, importCesium, resolveOptions, setB
function pluginEntry(pluginOptions?: Partial<BuildCesiumOptions>): Plugin[] {
const options = resolveOptions(pluginOptions, 'node_modules/cesium/Build/Cesium')

consola.info(`[vite-plugin-cesium-build]: The warning message like: \`Sourcemap for "..." points to missing source files\` is expected and is a bug in \`Cesium\'s IIFE\`. You can ignore it. See the @link \`https://github.com/CesiumGS/cesium/issues/11993\` for details.`)

return [
viteExternalsPlugin({ cesium: 'Cesium' }),
...copyCesium(
Expand Down

0 comments on commit 16b8453

Please sign in to comment.