mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 13:30:48 +00:00
Serve the demo artwork in each build (#1494)
* Serve local demo artwork * Disable restricted import lint * Revert * Switch approach to vite-multiple-assets plugin --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
parent
b60736c2c6
commit
af4c793f43
7 changed files with 85 additions and 22 deletions
|
@ -8,6 +8,7 @@ import { svelte } from "@sveltejs/vite-plugin-svelte";
|
|||
import rollupPluginLicense, { type Dependency } from "rollup-plugin-license";
|
||||
import { sveltePreprocess } from "svelte-preprocess/dist/autoProcess";
|
||||
import { defineConfig } from "vite";
|
||||
import { default as viteMultipleAssets } from "vite-multiple-assets";
|
||||
|
||||
const projectRootDir = path.resolve(__dirname);
|
||||
|
||||
|
@ -40,6 +41,7 @@ export default defineConfig({
|
|||
defaultHandler?.(warning);
|
||||
},
|
||||
}),
|
||||
viteMultipleAssets(["../demo-artwork"]),
|
||||
],
|
||||
resolve: {
|
||||
alias: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue