Skip to content

Commit

Permalink
dist/: Update other locations
Browse files Browse the repository at this point in the history
See also: lit#30
  • Loading branch information
tony committed Mar 13, 2021
1 parent 606b2f9 commit a02ece8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<title>&lt;my-element> Demo</title>
<script type="module" src="../my-element.js"></script>
<script type="module" src="../dist/my-element.js"></script>
<style>
p {
border: solid 1px blue;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"test:watch": "karma start karma.conf.cjs --auto-watch=true --single-run=false",
"test:update-snapshots": "karma start karma.conf.cjs --update-snapshots",
"test:prune-snapshots": "karma start karma.conf.cjs --prune-snapshots",
"checksize": "rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
"checksize": "rollup -c ; cat dist/my-element.bundled.js | gzip -9 | wc -c ; rm dist/my-element.bundled.js"
},
"keywords": [
"web-components",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {terser} from 'rollup-plugin-terser';
export default {
input: 'dist/my-element.js',
output: {
file: 'my-element.bundled.js',
file: 'dist/my-element.bundled.js',
format: 'esm',
},
onwarn(warning) {
Expand Down

0 comments on commit a02ece8

Please sign in to comment.