Skip to content

Commit 492a504

Browse files
committed
fix(svelte): copy svelte source to dist/src
1 parent 0732cd4 commit 492a504

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: packages/core/src/components/essentials/threshold.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ export class Threshold extends Component {
7979

8080
const { cartesianScales } = this.services;
8181
const orientation = cartesianScales.getOrientation();
82-
const getDomainValue = d => cartesianScales.getDomainValue(d);
83-
const getRangeValue = d => cartesianScales.getRangeValue(d);
82+
const getDomainValue = (d) => cartesianScales.getDomainValue(d);
83+
const getRangeValue = (d) => cartesianScales.getRangeValue(d);
8484
const [
8585
getXValue,
8686
getYValue,

Diff for: packages/svelte/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo "bundling..."
1313
rollup -c
1414

1515
# copy src directory for Svelte entry
16-
cp -r src/ dist/
16+
cp -r src/ dist/src
1717

1818
echo "copying metadata"
1919
cp *.md dist/

0 commit comments

Comments
 (0)