aurelia-v-grid / vGrid

Aurelia-v-grid - npm source
MIT License
49 stars 10 forks source link

Aurelia CLI configuration #57

Closed Thanood closed 7 years ago

Thanood commented 7 years ago

At the moment I have this CLI config:

          {
            "name": "aurelia-v-grid",
            "path":"../node_modules/aurelia-v-grid/dist/amd",
            "main": "index",
            "resources": [
              "**/*.{css,html,js}"
            ]
          }

That is including all .js files. We can possibly get rid of it by exporting everything in index.js.

But we don't need to. :smiley: Open for discussion.

vegarringdal commented 7 years ago

Great if you could give the updated package.json a try, had vGrid in path and not grid :-)

Thanood commented 7 years ago

Great if you could give the updated package.json a try, had vGrid in path and not grid :-)

As we talked about in Gitter, that doesn't solve it. And, because with ASP.NET you still need to explicitly set the resources arrray, I think it never did. It just loads the files from node_modules, which are not in the bundle. With my setup ans the ASP.NET setup, node_modules is inaccessibe and this fails.

vegarringdal commented 7 years ago

Added to temp gitbook https://github.com/vegarringdal/vGrid/issues/69