CesiumGS / CesiumGS/cesium-webpack-example

webpack explicit path could be omitted from "build" and "start" scripts under package.json file

Open
#60 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
270
Forks
164
PR merge metrics
No merged PRs in 30d

Description

To work across all platforms including **windows**, explicit path of webpack could be omitted as NPM handles this automatically. With explicit path getting error **_"'node_modules' is not recognized as an internal or external command" on Windows machine_**.

From:
"build": "node_modules/.bin/webpack --config webpack.config.js",
"start": "node_modules/.bin/webpack serve --config webpack.config.js --open"

To:
"build": "webpack --config webpack.config.js",
"start": "webpack serve --config webpack.config.js --open"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.