yeoman / bower-requirejs

[DEPRECATED] Automagically wire-up installed Bower components into your RequireJS config
375 stars 68 forks source link

Node packages are added to the array every run #87

Closed abrenneke closed 9 years ago

abrenneke commented 10 years ago

When a package is recognized as a node-style package (dep.pgkMeta.moduleType == 'node'), it will be added to the require.js packages list. However, when running bower-requirejs is run again, the packages list is appended to, rather than the existing package being modified.

E.g:

packages: [
        {
            name: "knockoutjs",
            main: "dist/knockout.js",
            location: "etc\\bower_components\\knockoutjs"
        },
        {
            name: "knockoutjs",
            main: "dist/knockout.js",
            location: "etc\\bower_components\\knockoutjs"
        }
    ]
florianv commented 9 years ago

I think this issue was fixed in https://github.com/yeoman/bower-requirejs/pull/96 ?

arthurvr commented 9 years ago

I think this issue was fixed in #96 ?

Yup! It was.