Skip to content

Update build scripts to use local Node.js installation#26

Open
AlexMubarakshin wants to merge 1 commit intodestefanis:masterfrom
AlexMubarakshin:feature/build-scripts-use-local-nodejs
Open

Update build scripts to use local Node.js installation#26
AlexMubarakshin wants to merge 1 commit intodestefanis:masterfrom
AlexMubarakshin:feature/build-scripts-use-local-nodejs

Conversation

@AlexMubarakshin
Copy link

This pull request updates the build scripts in the package.json file to use the local installation of Node.js instead of hardcoding the path to the Node.js executable. The updated scripts now use the webpack command directly, which allows for more flexibility and compatibility across different development environments.

Changes Made:

  • Replaced /usr/local/bin/node with node in the build and build:watch scripts.
  • Removed unnecessary references to node_modules/.bin in the scripts.

These changes ensure that the build scripts will use the Node.js executable available in the local environment, making it easier for other contributors to run the build process without having to modify the scripts manually.

This update enhances the maintainability and usability of the project, and aligns with best practices for cross-platform development.

Updated the build and build:watch scripts in the package.json file to use the webpack command directly, and removed the hardcoded path to the Node.js executable.
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

Successfully merging this pull request may close these issues.

1 participant