Skip to content

Commit ae96b78

Browse files
committed
upgraded parcel in masonry example
1 parent 5dd7415 commit ae96b78

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/masonry/.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/masonry/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<a href="index.html" class="pager__next">Next &rightarrow;</a>
6161
</div>
6262

63-
<script src="./index.js"></script>
63+
<script type="module" src="./index.js"></script>
6464

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

examples/masonry/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": [
@@ -34,6 +34,6 @@
3434
"masonry-layout": "^4.2.2"
3535
},
3636
"devDependencies": {
37-
"parcel-bundler": "^1.12.4"
37+
"parcel": "^2.0.0"
3838
}
3939
}

0 commit comments

Comments
 (0)