asprouse / serverless-webpack-plugin

Use Webpack to optimize your Serverless Node.js Functions
68 stars 29 forks source link

Make this plugin's API use only one copy of webpack by default #4

Closed tribou closed 8 years ago

tribou commented 8 years ago

Last week, I hit this obscure webpack error:

Error: No template for dependency: TemplateArgumentDependency

which was resolved with the following:

https://github.com/webpack/webpack/issues/1082#issuecomment-189700673

Is there a good way to either structure the docs or redo the way serverless-webpack-plugin uses webpack to help prevent newcomers from using more than one copy of webpack by default?

asprouse commented 8 years ago

I will look into making webpack a peer dependency. This should alleviate the version mismatch issues.