Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion web/src/esbuild.config.js → web/src/esbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const dynamicPublicPathPlugin = {
},
}

async function run() {
async function run(): Promise<void> {
const method = process.argv.includes('--watch') ? 'context' : 'build'

if (!process.env.GOALERT_VERSION)
Expand Down
3 changes: 1 addition & 2 deletions web/src/esbuild.cypress.js → web/src/esbuild.cypress.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node
/* eslint @typescript-eslint/no-var-requires: 0 */
/* eslint @typescript-eslint/no-require-imports: 0 */
const path = require('path')
const glob = require('glob')

const intEntry = {}
Expand All @@ -10,7 +9,7 @@ glob.globSync(path.join(__dirname, 'cypress/e2e/*')).forEach((file) => {
intEntry['integration/' + name] = file
})

async function run() {
async function run(): Promise<void> {
const method = process.argv.includes('--watch') ? 'context' : 'build'

const ctx = await require('esbuild')[method]({
Expand Down
5 changes: 0 additions & 5 deletions web/src/modernizr.config.js

This file was deleted.

Loading