Menu icon Foundation
npm run build

NOoB designer alert. 

What exactly happens to your root folder after running $ npm run build? 

ZURB Template

NOoB designer alert. 

What exactly happens to your root folder after running $ npm run build? 

Rafi Benkual about 3 years ago

By root folder, do you mean the `src` folder?

If so, nothing happens to it. There is a copy function that happens first, then the optimization happens in the dist folder.

Raphael Rahner about 3 years ago

ah... thanks for a speedy reply, Rafi.

I've created a website and I'm ready to upload it to the world wide web. I ran npm run build, can I upload the 'dist' and 'bower_components' directories to the server?

Will my live website function the same way as it did locally by uploading those two directories?