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

Import template compiler for runtime compilation #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

totallymike
Copy link

This resolves #39

@DavidPhilip
Copy link

I had to add ".js" to the compiler-filename otherwise app.import would've thrown an error that I didn't pass a file.

So instead of:

app.import(path.join(app.bowerDirectory, 'ember', 'ember-template-compiler'));

use

app.import(path.join(app.bowerDirectory, 'ember', 'ember-template-compiler.js'));

@MonkeyIsNull
Copy link

Can confirm @DavidPhilip's comment. You do need the '.js' added to it. Should work fine then

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.

Adding to new CLI project creates compile errors
3 participants