Skip to content

Commit a02ece8

Browse files
committed
dist/: Update other locations
See also: lit#30
1 parent 606b2f9 commit a02ece8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dev/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8">
66
<title>&lt;my-element> Demo</title>
7-
<script type="module" src="../my-element.js"></script>
7+
<script type="module" src="../dist/my-element.js"></script>
88
<style>
99
p {
1010
border: solid 1px blue;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"test:watch": "karma start karma.conf.cjs --auto-watch=true --single-run=false",
2828
"test:update-snapshots": "karma start karma.conf.cjs --update-snapshots",
2929
"test:prune-snapshots": "karma start karma.conf.cjs --prune-snapshots",
30-
"checksize": "rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
30+
"checksize": "rollup -c ; cat dist/my-element.bundled.js | gzip -9 | wc -c ; rm dist/my-element.bundled.js"
3131
},
3232
"keywords": [
3333
"web-components",

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {terser} from 'rollup-plugin-terser';
2020
export default {
2121
input: 'dist/my-element.js',
2222
output: {
23-
file: 'my-element.bundled.js',
23+
file: 'dist/my-element.bundled.js',
2424
format: 'esm',
2525
},
2626
onwarn(warning) {

0 commit comments

Comments
 (0)