Skip to content

Strip default inclusion pattern doesn't include unresolved relative modules #128

Description

@yannayl
  • Rollup Plugin Name: strip
  • Rollup Plugin Version: 1.3.1
  • Rollup Version: 1.27.14
  • Operating System (or Browser): Ubuntu 18.04
  • Node Version: v13.5.0

How Do We Reproduce?

Clone the reproduction repository and follow the instructions in the README file.

Expected Behavior

Both files - resolved and unresolved should be identical and not include any console.log.

Actual Behavior

Files are different, the unresolved contains:

(function () {
	'use strict';

	function foo() { console.log('foo'); }

	foo();
	bar();

}());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions