Skip to content

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

@ashieshkumar90

Description

@ashieshkumar90

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions