Skip to content

Commit 3367c82

Browse files
committed
【fix】1) 新增npm发布忽略文件,解决npm发布不会有重复resources文件夹
2) 修改websymbol示例中默认符号资源路径 review by zhaoq
1 parent a35eb50 commit 3367c82

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

examples/js/websymbol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
window.exampleWebSymbolBasePath = "../../dist/resources/symbols";
1+
window.exampleWebSymbolBasePath = "../../dist/mapboxgl/resources/symbols";

examples/mapboxgl/websymbol-editor/js/websymbol-editor.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/mapboxgl/websymbol-gallery/js/websymbol-gallery.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/mapboxgl/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/dist/resources

0 commit comments

Comments
 (0)