Skip to content

Commit 2ebe3c1

Browse files
committed
Use same file structure as svelte rollup template
1 parent a641288 commit 2ebe3c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
<title>Svelte app</title>
88

99
<link rel='icon' type='image/png' href='favicon.png'>
10-
<link rel='stylesheet' href='bundle.css'>
10+
<link rel='stylesheet' href='build/bundle.css'>
1111
</head>
1212

1313
<body>
14-
<script src='bundle.js'></script>
14+
<script src='build/bundle.js'></script>
1515
</body>
1616
</html>

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const prod = mode === 'production';
66

77
module.exports = {
88
entry: {
9-
bundle: ['./src/main.js']
9+
'build/bundle': ['./src/main.js']
1010
},
1111
resolve: {
1212
alias: {

0 commit comments

Comments
 (0)