Skip to content

Commit

Permalink
Consitently name output bundle index.js (#119)
Browse files Browse the repository at this point in the history
This fixes #118.

Co-authored-by: Christian Posch <[email protected]>
  • Loading branch information
chris81 and chris81 authored Feb 12, 2023
1 parent 02feb8e commit 7acf8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<link rel="stylesheet" href="//demo.productionready.io/main.css" />
</head>
<body>
<script src="./main.js"></script>
<script src="./index.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "spago build",
"test": "spago test",
"serve": "spago build && esbuild --bundle index.js --servedir=dist",
"bundle": "spago -x spago.production.dhall build && purs-backend-es bundle-app --main Main --minify --no-build --to dist/main.js"
"bundle": "spago -x spago.production.dhall build && purs-backend-es bundle-app --main Main --minify --no-build --to dist/index.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 7acf8e3

Please sign in to comment.