Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b697de commit 35c78d2Copy full SHA for 35c78d2
src/esbuild/index.ts
@@ -213,7 +213,7 @@ function buildSetup() {
213
214
if (plugin.load) {
215
onLoad({ filter: onLoadFilter }, async (args) => {
216
- const id = args.path + args.suffix
+ const id = args.path + (args.suffix || '') // compat for #427
217
218
const { errors, warnings, mixedContext }
219
= createPluginContext(context)
@@ -254,7 +254,7 @@ function buildSetup() {
254
255
if (plugin.transform) {
256
onTransform({ filter: onLoadFilter }, async (args) => {
257
+ const id = args.path + (args.suffix || '')
258
259
if (plugin.transformInclude && !plugin.transformInclude(id))
260
return
0 commit comments