feat(webpack): improved svelte HMR (#9497)

* update svelte config to use svelte-loader

* handle null config

* fix: worker support in .svelte files & update snapshots

* fix after merge

Co-authored-by: halfnelson <dpershouse@gmail.com>
Co-authored-by: Igor Randjelovic <rigor789@gmail.com>
This commit is contained in:
farfromrefuge
2021-08-11 11:42:53 +02:00
committed by GitHub
parent 7960f8361f
commit 59d9271bce
5 changed files with 45 additions and 39 deletions

View File

@@ -271,9 +271,7 @@
"builder": "@nrwl/workspace:run-commands",
"outputs": ["dist/packages"],
"options": {
"commands": [
"npm run build"
],
"commands": ["npm run build"],
"cwd": "packages/webpack5",
"parallel": false
}