Skip to content

Loading…

Running example in production SS_ENV throws #4

Closed
casio opened this Issue · 3 comments

3 participants

@casio

When running the example like so: SS_ENV=production node app.js,
you get the following excpetion in the browser Unknown provider: e from exampleApp.

I assume thats an issue related to the uglifyjs renaming passes & understand ss-angular maybe isnt production-ready, yet.

But do you maybe have an idea where this might be located? Maybe fixing it is just using array notation for some name.

@polidore
Owner

this is fixed in 0.4.14. I wasn't using the array syntax that you need for minification in angular.

@polidore polidore closed this
@jgebhardt

Hi Benjamin,

I've been facing the same issue and unfortunately it still does not work for me in 0.5.1. Just did a clean pull and ran
SS_ENV=production SS_PACK=1 node app.js

Any ideas? Thanks.

@polidore
Owner

ok, now it's really fixed. sorry about that.

@polidore polidore pushed a commit that referenced this issue
Ben Polidore finally fixed #4 0962614
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.