Webpack-dev-server does not place bundle in dist

后端 未结 4 1163
执念已碎
执念已碎 2021-01-12 03:39

I am trying to setup a Webpack configuration for a website I want to build. I want to compile SASS to CSS and place it into the dist folder. When I run npm run build

4条回答
  •  梦谈多话
    2021-01-12 03:53

    webpack-dev-server serves from memory. If you want to see the files on disk during development with webpack-dev-server, you'll need to run a standard webpack build concurrently. See this answer for details.

提交回复
热议问题