Parcourir la source

add baseUrl property

tags/2.2.3
Caven Chen il y a 4 ans
Parent
révision
29626778f4
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 0
    1
      build/common.js
  2. 1
    1
      packages/base/index.js

+ 0
- 1
build/common.js Voir le fichier

@@ -69,7 +69,6 @@ module.exports = {
],
plugins: [
new webpack.DefinePlugin({
CESIUM_BASE_URL: JSON.stringify('./libs/dc-sdk/resources/'),
__VERSION__: JSON.stringify(packageInfo.version),
__TIME__: JSON.stringify(getTime()),
__AUTHOR__: JSON.stringify(packageInfo.author),

+ 1
- 1
packages/base/index.js Voir le fichier

@@ -9,7 +9,7 @@ import * as turf from '@turf/turf'
let DC = {
version: __VERSION__,
accessToken: '',
baseUrl: '',
baseUrl: './libs/dc-sdk/resources/',
author: __AUTHOR__,
home_page: __HOME_PAGE__,
Namespace: {},

Chargement…
Annuler
Enregistrer