From 0078ee3bbf3e263cf823468ad8a4c4983f2b0189 Mon Sep 17 00:00:00 2001 From: Brandon Beck <32200665+Brandon-Beck@users.noreply.github.com> Date: Wed, 12 Aug 2020 07:06:33 -0500 Subject: [PATCH 1/2] Add svelte field and remove sapper note See the [Svelte Component Template](https://github.com/sveltejs/component-template#consuming-components) for a more detailed description. Basically, this tells rollup/webpack that there is source code for svelte files available for it to consume directly instead of the compiled/dist versions. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ded5fd2..c1c0142 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "url": "https://github.com/vikignt/svelte-mui.git" }, "license": "MIT", + "svelte": "src/index.js", "module": "index.mjs", "main": "index.js", "scripts": { @@ -45,4 +46,4 @@ "index.mjs", "index.js" ] -} \ No newline at end of file +} From 55877d27471e2e97788938ed19bfa75ffe51a8ea Mon Sep 17 00:00:00 2001 From: Brandon Beck <32200665+Brandon-Beck@users.noreply.github.com> Date: Wed, 12 Aug 2020 07:12:44 -0500 Subject: [PATCH 2/2] Remove sapper note --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index d4465f4..2e23f66 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,6 @@ Modify file `src/App.svelte` in the following way ``` -_Note for the [sapper](https://sapper.svelte.dev/) application, you must import components from `svelte-mui/src` like so_ - -```js - import { Button, Checkbox } from 'svelte-mui/src'; -``` - ...then start [Rollup](https://rollupjs.org/) ```bash