NOoB designer alert.
What exactly happens to your root folder after running $ npm run build?
Friday, April 01, 2016 at 3:11 PM EST
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.
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?
Create an Account
Get up to speed FAST, learn straight from the experts who built Foundation.
Learn Foundation from the creators in our interactive online webinars which will keep you up to date with the latest trends and skills needed to win your projects.
Or if you prefer, contact the Foundation Team at firstname.lastname@example.org or (408) 341-0600 x635