Skip to content

migration to browserify and dependencies #11

@mikepuerto

Description

@mikepuerto

Hello!

I have been working on migrating an existing project from 0.5.0alpha to 0.5.0 as well as moving away from stitch to browserify. I'm having a hard to understanding how to add the "dependencies" to the browserify config. In stitch we had something like this:

rendr_stitch: {
  compile: {
    options: {
      dependencies: [
        'assets/vendor/jquery-2.0.3.js',
        'assets/vendor/jquery-ui.js',
        'assets/vendor/bootstrap.js',
        'assets/vendor/masonry.min.js',
        'assets/vendor/imagesloaded.js',
        'assets/vendor/rivets.js'
      ],
      // ....
    }
  }
}

How do we translate this to the browserify way of doing it? I've tried adding the list of files in the config and I just get errors. Any help would be greatly appreciated as this is the final step in getting up to date with the project.

Thanks!
-Mike

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