Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

fix ts sourceMap warning on prod build #241

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function serve() {
export default {
input: 'src/main.js',
output: {
sourcemap: true,
sourcemap: !production,
format: 'iife',
name: 'app',
file: 'public/build/bundle.js'
Expand Down
2 changes: 1 addition & 1 deletion scripts/setupTypeScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<script lang="ts">
export let name: string;
</script>

As well as validating the code for CI.
*/

Expand Down