Skip to content

Commit

Permalink
fix: adjust build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yitengjun committed May 28, 2023
1 parent 7c807d9 commit ec5bbb7
Show file tree
Hide file tree
Showing 12 changed files with 168 additions and 1,615 deletions.
2 changes: 1 addition & 1 deletion dist/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UkiyoOptions, TElement } from '../types/index';
import type { UkiyoOptions, TElement } from '../types/index.ts';
export default class Ukiyo {
private elements;
private options?;
Expand Down
2 changes: 1 addition & 1 deletion dist/types/parallax.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { UkiyoOptions } from '../types/index';
import type { UkiyoOptions } from '../types/index.ts';
/**
* Parallax class
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/types/utils.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { TElement } from '../types/index';
import type { TElement } from '../types/index.ts';
/**
* Check if the current browser supports the required features
*/
Expand Down
1 change: 0 additions & 1 deletion dist/ukiyo.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ <h2>(style) with CSS Grid</h2>
<button class="button--destroy" type="button">destroy</button>
</div>

<script src="./ukiyo.min.js"></script>
<script src="../dist/ukiyo.umd.min.js"></script>
<script>
const parallax = new Ukiyo(".ukiyo");

Expand Down

0 comments on commit ec5bbb7

Please sign in to comment.