Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

banner is duplicated in umd-min format #346

Closed
VitorLuizC opened this issue May 7, 2020 · 1 comment
Closed

banner is duplicated in umd-min format #346

VitorLuizC opened this issue May 7, 2020 · 1 comment

Comments

@VitorLuizC
Copy link
Contributor

Bili generated 2 banners in umd minified bundle.

Captura de Tela 2020-05-07 às 15 40 37

I'm using bili version 4.10.0

My .bilirc.ts
import type { Config as Configuration } from 'bili';

const configuration: Configuration = {
  banner: true,
  input: 'src/index.ts',
  output: {
    format: ['es', 'cjs', 'umd', 'umd-min'],
    moduleName: 'selectFiles',
    sourceMap: true,
  },
  babel: {
    minimal: true,
  },
  plugins: {
    typescript2: {
      clean: true,
      tsconfig: 'tsconfig.bundle.json',
      useTsconfigDeclarationDir: true,
    },
  },
};

export default configuration;
VitorLuizC added a commit to VitorLuizC/select-files that referenced this issue May 7, 2020
fi3ework added a commit to fi3ework/bili that referenced this issue Jun 18, 2020
@fi3ework fi3ework added the bug label Jun 18, 2020
@egoist egoist closed this as completed in 9a5e211 Jun 19, 2020
@egoist
Copy link
Owner

egoist commented Jun 19, 2020

🎉 This issue has been resolved in version 5.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants