amp-module
amp-module copied to clipboard
Yarn 2: explicit webpack dependency
On yarn 2 install:
@nuxtjs/amp@npm:0.5.4 doesn't provide webpack (p734a6), requested by raw-loader
As of https://dev.to/arcanis/implicit-transitive-peer-dependencies-ed0 the webpack
dep should be listed in package.json
, or is there any reason this cannot be done?
I'm not very familiar with yarn 2, but I think same error will remain even if we add webpack
into peerDependencies
. Because in Nuxt projects webpack
is not lists as a direct dependency. webpack
is part of @nuxt/webpack
module.
Maybe @pi0 could help us on this