-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Open
Labels
bugSomething isn't workingSomething isn't workingbun:serveBun.serve and HTTP serverBun.serve and HTTP server
Description
What version of Bun is running?
1.2.10+db2e7d7f7
What platform is your computer?
linux
What steps can reproduce the bug?
Docs say development mode = false should not include source maps for minified scripts, while development mode = true includes source maps. But I see source maps for dev mode = false
import home from './home.html';
Bun.serve({
development: false,
routes: {
'/': home
}
})home.html:
<!DOCTYPE html>
<html>
<head>
<script type=module src=/home.mjs></script>
<link rel=stylesheet href=/home.css>
</head>
<body>
</body>
</html>/chunk-vnbvv8qq.js:
//# sourceMappingURL=/chunk-vnbvv8qq.js.map
GameRoMan
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingbun:serveBun.serve and HTTP serverBun.serve and HTTP server