Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Oct 22, 2022
1 parent f68221c commit 3f50fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telefunc/node/webpack/loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type Loader = {
}

module.exports = async function (this: Loader, input: string): Promise<string> {
assert(typeof this._compiler.name === 'string')
assert(this._compiler.name === 'client' || this._compiler.name === 'server')
const isClientSide = this._compiler.name !== 'server'
assert(typeof this._compiler.context === 'string')
const root = this._compiler!.context
Expand Down

0 comments on commit 3f50fbf

Please sign in to comment.