Skip to content

Commit 54302cf

Browse files
committed
Advice to use an alias instead of editing each import
1 parent 60220a5 commit 54302cf

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ browse http://localhost:1234
1919
```
2020

2121
### OLCesium import
22-
The examples use a compiled version of OLCesium. If you want to use the source code directly you can change the import to '../src/olcs.ts'
2322

24-
```typescript
25-
import OLCesium from 'olcs'; // or '../src/olcs.ts' for source code
26-
```
23+
The examples use a compiled version of OLCesium. If you want to use the source code directly you can define an alias.
24+
See https://en.parceljs.org/module_resolution.html#aliases
2725

2826
### The `check` target
2927

0 commit comments

Comments
 (0)