Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Where are the built files written to? #113

Closed
dopatraman opened this issue Jul 29, 2016 · 3 comments
Closed

Where are the built files written to? #113

dopatraman opened this issue Jul 29, 2016 · 3 comments

Comments

@dopatraman
Copy link

I'm looking at the webpack.config file and I see this block:

output: {
    path: './dist',
  },

However, when I build the project with npm start, although I am able to load the project in the browser I cannot find the dist directory. Where are the built files being written?

@gcollomb
Copy link

gcollomb commented Aug 1, 2016

Same for me. I work with Win7. How to set in Production ?

@willyelm
Copy link

willyelm commented Aug 2, 2016

If you run npm start in the project it will use webpack-dev-server, and all files server by it will be ran from the memory, so there will be no files created on the disk.

You can resolve it by using npm run watch and then server the files from somewhere else.

@pkozlowski-opensource
Copy link
Member

@willyelm explanation covers what is going on during dev. For prod build see #17

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants