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

Don't use export * to workaround rollup bug #556

Merged
merged 2 commits into from
Oct 11, 2018
Merged

Conversation

keanulee
Copy link
Contributor

No description provided.

src/lit-html.ts Outdated
export * from './lib/template-factory.js';
export {DefaultTemplateProcessor, defaultTemplateProcessor} from './lib/default-template-processor.js';
export {Directive, directive, isDirective} from './lib/directive.js';
export {isCEPolyfill, removeNodes, reparentNodes} from './lib/dom.js';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove isCEPolyfill

src/lit-html.ts Outdated
export * from './lib/template-factory.js';
export {DefaultTemplateProcessor, defaultTemplateProcessor} from './lib/default-template-processor.js';
export {Directive, directive, isDirective} from './lib/directive.js';
export {isCEPolyfill, removeNodes, reparentNodes} from './lib/dom.js';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add TODO(justinfagnani): remove line, so that when we get NodePart moving methods we don't export these.

src/lit-html.ts Outdated
export {templateCaches, templateFactory} from './lib/template-factory.js';
export {TemplateInstance} from './lib/template-instance.js';
export {SVGTemplateResult, TemplateResult} from './lib/template-result.js';
export {createMarker, isTemplatePartActive, lastAttributeNameRegex, marker, markerRegex, nodeMarker, rewritesStyleAttribute, Template} from './lib/template.js';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove lastAttributeNameRegex, marker, markerRegex, nodeMarker, rewritesStyleAttribute

@Westbrook
Copy link
Contributor

Has this update made it into a release somewhere? Would love to have this available in my build.

@kr05
Copy link

kr05 commented Nov 4, 2018

I just came across this same error. Great to see a solution already implemented, can't wait for the release!

@Westbrook
Copy link
Contributor

@justinfagnani is there anyway we could get a bug fix release on this? Even if it wasn't the right answer long term, this proves to be a pretty big blocker to my team moving forward with a number of projects. It seems like the "fix" at the polymer-cli level either isn't working or isn't going to be released, and the conversation at the RollUp level is still ongoing, so any help you could provide at this level via bug fix release or "next" release or what not would be greatly appreciated.

@keanulee
Copy link
Contributor Author

keanulee commented Nov 9, 2018

lit-html 0.13.0 now released.

neuronetio pushed a commit to neuronetio/lit-html that referenced this pull request Dec 2, 2019
* Don't use export * to workaround rollup bug

* Don't export internals
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.

4 participants