svelte-accmod-patch v1.0.2
svelte-accmod-patch
svelte-accmod patch for Svelte projects: can be used with any existing project depending on Svelte (installed locally), like e.g. SvelteKit or standard Svelte starter based projects etc.
The patch replaces original Svelte files (see svelte directory inside node_modules) with corresponding svelte-accmod files. This way svelte-accmod doesn't have to be installed as a dependency, it's simply 'under the hood', so there's no need to change anything concerning your existing development environment / project setup.
Apply the patch without installing it locally:
npx svelte-accmod-patchInstall the patch locally and apply it:
This may make more sense, because it will add an "svelte-accmod-patch": ... entry to "devDependencies": {...} in your package.json, so it'll be clearly visible you may not be using the original Svelte compiler etc. Otherwise there will be no obvious indication the patch has been used.
npm install svelte-accmod-patch --save-dev
npx svelte-accmod-patchArguments
-apply
default
Replaces original Svelte files with corresponding svelte-accmod files:
npx svelte-accmod-patch -applywhich has the same effect as:
npx svelte-accmod-patch-revert
Reverts the patch / re-installs the original Svelte:
npx svelte-accmod-patch -revert