Skip to content

lineman-browserify incompatible with lineman-angular  #20

@hanfeisun

Description

@hanfeisun

I use lineman-browserify on lineman-augular-template

In the concat_sourcemap step

  Running "concat_sourcemap:js" (concat_sourcemap) task
  Verifying property concat_sourcemap.js exists in config...OK
  Files: generated/angular/template-cache.js, generated/js/browserify.js -> generated/js/app.js
  Reading generated/angular/template-cache.js...OK
  Reading generated/js/browserify.js...OK
  Writing generated/js/app.js...OK
  Writing generated/js/app.js.map...OK
  File "generated/js/app.js" created.

The template-cache.js appears before browserify.js, which will leads to Uncaught ReferenceError: angular is not defined in the browser because augular is not usable until browserify part is loaded. Thus it is not available in template-cache.js because it has not been loaded yet..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions