Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack-cli required #519

Open
tguvdamm opened this issue Mar 25, 2021 · 0 comments
Open

Webpack-cli required #519

tguvdamm opened this issue Mar 25, 2021 · 0 comments

Comments

@tguvdamm
Copy link

When building the exact example from the homepage in a yarn workspace with node 12 or 14, webpack warned me that webpack-cli was required to build the project.
I originally used the gas plugin with webpack in a larger project that probably somehow suppressed that warning and just resulted in an error similar to the one mentioned in #460 .

Proposal: add documentation to add webpack-cli to dependencies when using yarn.


tree:

.
├── echo.js
├── main.js
├── package.json
└── webpack.config.js

Package.json contents:

{
  "name": "temp",
  "version": "1.0.0",
  "description": "temp",
  "license": "MIT",
  "devDependencies": {
    "gas-webpack-plugin": "^2.0.0",
    "webpack": "^5.28.0"
  },
  "scripts": {
    "build": "yarn webpack"
  }
}

Other files are copied verbatim from this package's homepage example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant