Skip to content

fix class removed when treeshake: false - #1375

Merged
Rich-Harris merged 1 commit into
rollup:masterfrom
rhyzx:patch-1
Jun 3, 2017
Merged

fix class removed when treeshake: false#1375
Rich-Harris merged 1 commit into
rollup:masterfrom
rhyzx:patch-1

Conversation

@rhyzx

@rhyzx rhyzx commented Apr 21, 2017

Copy link
Copy Markdown
Contributor

main.js

import { Foo } from './foo'
console.log(Foo.name)

foo.js

export class Foo {
}

output

console.log(Foo.name)

This bug comes from 173cfc0

@Victorystick
Victorystick self-requested a review April 24, 2017 12:08
@Rich-Harris
Rich-Harris merged commit ffcc885 into rollup:master Jun 3, 2017
@Rich-Harris

Copy link
Copy Markdown
Contributor

thanks 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants