这是indexloc提供的服务,不要输入任何密码
Skip to content

Critical bug in version v8.2.1 #1165

@devcaeg

Description

@devcaeg

I have the following configuration to create the build of my application, until version v8.2.0 everything worked correctly, but since version v8.2.1 I can't generate the build because the console is filled with messages like the following:

import { build } from 'tsup';

await build({
  bundle: true,
  clean: true,
  dts: false,
  entry: ['src/**/*.ts', '!src/**/*.d.ts', '!src/types/**/*.ts', '!src/index.ts'],
  external: ['bun'],
  format: 'esm',
  minify: true,
  outDir: 'dist',
  sourcemap: false,
  target: 'esnext',
  treeshake: true,
});
✘ [ERROR] No loader is configured for ".map" files: node_modules/@typescript-eslint/eslint-plugin/dist/rules/prefer-includes.js.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/openai/resources/audio/translations.d.ts.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/@typescript-eslint/eslint-plugin/dist/rules/ban-ts-comment.js.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/@typescript-eslint/scope-manager/dist/definition/index.js.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/@typescript-eslint/scope-manager/dist/scope/index.js.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/tsc-alias/dist/utils/import-path-resolver.js.map

✘ [ERROR] No loader is configured for ".map" files: node_modules/@typescript-eslint/eslint-plugin/dist/util/collectUnusedVariables.js.map

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions