Skip to content

Commit 7cb1779

Browse files
committed
Move index.js -> example.js
1 parent a28025c commit 7cb1779

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
File renamed without changes.

examples/index.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,8 @@
2323
}
2424
</style>
2525
<div id="root"></div>
26-
<script type="text/babel" src="index.js" data-presets="babel-sucks"></script>
26+
<script
27+
type="text/babel"
28+
src="./example.js"
29+
data-presets="babel-sucks"
30+
></script>

rollup.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config = (format, file, minify, server = false) => ({
2525
port: 8001,
2626
host: '0.0.0.0',
2727
path: 'examples/index.html',
28-
contentBase: ['examples', 'dist', 'node_modules'],
28+
contentBase: ['examples', 'dist'],
2929
open: false,
3030
wait: 500,
3131
}),

0 commit comments

Comments
 (0)