Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.
This repository was archived by the owner on May 5, 2022. It is now read-only.

possible exception with minification #76

@kamilgarey

Description

@kamilgarey

js minification now take scripts in alphabetical order. Usually files need only reference to angular module storefrontApp (over dependencies comes thru angular DI) . As it is declared in app.js which usually comes first in minification order we have no problems. But if we create a file who comes first in order and reference to module (which we usually do) we'll got angular error in storefront after minification .

Steps to reproduce

  1. add "answer.js" to assets/js which contains
    "
    angular.module('storefrontApp');
    "
  2. minify
    3.Update browser cache.

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