Skip to content

Commit 3c4afb8

Browse files
committed
upgraded parcel in blocks example
1 parent eb221d2 commit 3c4afb8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/blocks/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
node_modules
22
dist
3-
.cache
3+
.parcel-cache
44
package-lock.json
55
.npmrc

examples/blocks/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="loader"></div>
2121
</div>
2222

23-
<script src="./index.js"></script>
23+
<script type="module" src="./index.js"></script>
2424

2525
<footer class="ias-foot">This <a href="https://infiniteajaxscroll.com/examples/blocks/">infinite scroll</a> example is powered by <a href="https://infiniteajaxscroll.com">Infinite Ajax Scroll</a></footer>
2626
</body>

examples/blocks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"private": true,
1414
"scripts": {
1515
"build": "parcel build *.html --public-url ./",
16-
"watch": "parcel watch * --public-url ./",
16+
"watch": "parcel watch *.html --public-url ./",
1717
"link": "npm link ../../"
1818
},
1919
"keywords": [
@@ -32,6 +32,6 @@
3232
"@webcreate/infinite-ajax-scroll": "^3.0.0"
3333
},
3434
"devDependencies": {
35-
"parcel-bundler": "^1.12.4"
35+
"parcel": "^2.0.0"
3636
}
3737
}

0 commit comments

Comments
 (0)