Webpack with bower support

前端 未结 1 860
予麋鹿
予麋鹿 2021-01-18 09:40

Would I like to load preferably the node packages, and only if not exist, loads the bower package.

I would just use the node package only as recommend

1条回答
  •  孤街浪徒
    2021-01-18 09:55

    Ok, tried your project from git https://github.com/Ridermansb/webpackBowerStarter

    And as mentioned at https://github.com/lpiepiora/bower-webpack-plugin/issues/20 I too had that Cannot resolve module 'stamplay-js-sdk' issue , then in webpackBowerStarter directory I did bower install stamplay-js-sdk then sudo npm run build and voila! It was done.

    On npm run start which is same as webpack-dev-server -d --watch I get http://localhost:8080/webpack-dev-server/ like And console says

    sry if u meant something else. Does this resolves your issue ?

    0 讨论(0)
提交回复
热议问题