vuejs-templates / webpack

A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.
MIT License
9.7k stars 4.39k forks source link

Vue pwa - how to have multiple enviroment NODE_ENV and allow service worker on dev #1464

Open kgrosvenor opened 5 years ago

kgrosvenor commented 5 years ago

How can i use NODE_ENV=development to use on a test server build, having the service worker acting and https:// set up, currently when i release an update to my test server i always have to refresh twice due to vendor file not being found, i know this is because in development environment it does not work, but in reality it should right, is there anyway after build to include service worker?