Skip to content

Commit 04ff97a

Browse files
committed
change how we build
1 parent 613d2dd commit 04ff97a

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
/dist
1+
public/*
2+
!public/index.html
3+
24

35
# dependencies
46
/node_modules
5-
/bower_components
67

78
# IDEs and editors
89
/.idea

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ deploy:
1212
skip-cleanup: true
1313
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
1414
keep-history: true
15+
local_dir: public
1516
on:
1617
branch: master

index.html renamed to public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
<style>body{min-height: 101vh;}</style>
2929
</head>
3030
<body>
31-
<script type="module" src="./dist/index.js"></script>
31+
<script type="module" src="./index.js"></script>
3232
</body>
3333
</html>

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const plugins = [
2222
export default {
2323
input: "src/index.js",
2424
output: {
25-
dir: "dist",
25+
dir: "public",
2626
format: "esm"
2727
},
2828
plugins

0 commit comments

Comments
 (0)