mmautomatizacion / mm.angular-fullpage.js

Angular directive for use the jQuery fullPage.js library on Angular.js v1.x
MIT License
17 stars 7 forks source link

Not working with WebPack #7

Closed Gusi closed 7 years ago

Gusi commented 7 years ago

For webpack to work, you must include src folder, or change the "main" entry in package.json

"main": "dist/mm.angular-fullpage.min.js",

mmautomatizacion commented 7 years ago

I've never used WebPack, but What's exactly the problem? I think WebPack will use the source file, placed in src forlder, for generate one only file for all.

Gusi commented 7 years ago

Webpack uses the "main" entry in the package.json to upload the file. Right now the main points to a file that doesn't exist (src/mm-angular-fullpage.js) because the src folder is not included in the npm distribution (and also the file name is wrong because of "-" instead of "."), so it doesn't work.

mmautomatizacion commented 7 years ago

Solved in last release, 1.3.5. Thanks for your notice.