arabsight / aurelia-mdl-plugin

Material Design Lite plugin for Aurelia.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack support

alpox opened this issue · comments

commented

I tried to integrate the plugin with webpack but didn't have much success yet. I keep running into this error:
auswahl_010

And the dist folder doesn't seem to have the structure as other aurelia apps. Maybe that is what causes the problem? I'll keep digging :-)

commented

I found a workaround for this.
With adding:

"aurelia": {
    "build": {
      "resources": [
        "aurelia-mdl-plugin/mdl.js"
      ]
    }
  }

to the package.json file did the trick.

@alpox, I never worked with webpack before, but I'll give a try. In the mean time if you found a solution feel free to submit a PR.

@alpox its fixed (v0.1.6) no need to define resources in package.json