CodeCoupler Webpack Development Details: Dependencies
The most dependencies are self-explanatory because they are related to functionality of
cc-webpack. They are defined as
dependencies and not
devDependencies so they will be installed
if you add
cc-webpack to your project.
cc-webpack itself should be added as
devDependency because none of these dependencies are
important at runtime with one exception. The package
vue is of course something you need at
runtime but it was configured here anyway. This is because some other packages depents not only on
vue but also on the exact version. You cannot install for example
in different versions. If
vue would not be included here, it would be hard to synchronize
cc-webpack with the project that use
All libraries are linked in the latest version at best. Here some remarks:
slash: Installed in the version 3 instead 4 to work together with
@codecoupler/cc-webpack-externals-pluginand the and the
html-webpack-deploy-pluginused there. Both use the version 3 and version 4 have some breking changes that cannot integrated for now.
@vue/compiler-sfc: Is needed by
postcss: Normally not needed to be in the dendency list (because it is already a required package), but all postcss extensions throw a warning if not there.