Created
January 5, 2018 14:19
-
-
Save gidj/8e9011156ee88bf5f95a5f7950ed34fe to your computer and use it in GitHub Desktop.
Webpack on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add outside repository: | |
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
# For Node.js 9: | |
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
# Install nodejs and npm: | |
sudo apt-get install nodejs | |
# Install node modules locally: | |
npm install --save-dev | |
# Create webpack.conf.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment