Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

Banner is outputted twice #146

Closed
Comandeer opened this issue Jan 16, 2019 · 0 comments · Fixed by #151
Closed

Banner is outputted twice #146

Comandeer opened this issue Jan 16, 2019 · 0 comments · Fixed by #151
Assignees
Labels
Milestone

Comments

@Comandeer
Copy link
Owner

Steps to reproduce the issue

  1. Use this plugin with following Rollup configuration:

    import minify from 'rollup-plugin-babel-minify';
    
    export default {
    	input: 'index.js',
    	plugins: [
    		minify()
    	],
    	output: {
    		banner: '/* hublabubla */',
    		file: 'bundle.js',
    		format: 'es'
    	}
    };

Expected result

The banner is outputted once at the beginning of the bundle.

Actual result

The banner is outputted twice.

Other details

Version of package: reproducible at least from 6.2.0

The issue is present only when banner is passed as rollup option, works fine when is passed as plugin's option.

@Comandeer Comandeer added the bug label Jan 16, 2019
@Comandeer Comandeer added this to the v7.0.0 milestone Jan 16, 2019
@Comandeer Comandeer self-assigned this Jan 16, 2019
@Comandeer Comandeer modified the milestones: v7.0.0, v7.0.1 Jan 16, 2019
@Comandeer Comandeer modified the milestones: Backlog, v8.0.0 Mar 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant