Skip to content

不能混用 import 以及 module.exports #9

@zhangucan

Description

@zhangucan

Request a feature or report a bug? [这是一个需求还是一个缺陷]

缺陷

One-line summary [问题简述]

包引用错误

Version [产品及版本]

  • iClient product (for leaflet,for openlayers,for mapboxgl,classic)[iClient 产品]: for leaflet
  • iClient version [iClient 版本]: 当前master
  • Browser version [浏览器类型和版本]: node 8.9.4
  • OS Version [操作系统类型和版本]: nuxt.js

Actual Behavior [当前现象]

warning in ./node_modules/@supermap/iclient-leaflet/overlay/TurfLayer.js
"export 'default' (imported as 'turf') was not found in '@turf/turf'

Expected Behavior [期望现象]

Example of reproducing the issue [重现现象的例子]


What is motivation or use case for changing the behavior? [需求的场景和目的是什么?]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy