chore: ignores module.zip

Just prevents accidentallly adding it to repo.
This commit is contained in:
Ulenar of Mondarth 2025-07-20 10:53:33 +00:00
parent 6917780306
commit c4359d44b0
4 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,5 +7,6 @@ _build/
dist/
packs/
node_modules/
module.zip
.foundryvtt/data/
.foundryvtt/secrets.json

View File

@ -37,6 +37,7 @@
"@league-of-foundry-developers/foundry-vtt-types": "12.331.3-beta",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tsconfig/svelte": "^5.0.4",
"autoprefixer": "^10.4.21",
"commitizen": "4.3.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "^9.25.1",

View File

@ -1,3 +1,5 @@
import '../styles/module.css';
Hooks.once('ready', () => {
console.log('ready to go');
});

View File

@ -3,6 +3,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte';
import { sveltePreprocess } from 'svelte-preprocess';
import autoprefixer from 'autoprefixer';
import vttSync from 'foundryvtt-sync';
import moduleJSON from './module.json' with { type: 'json' };
@ -57,7 +58,7 @@ export default ({ mode }) => {
},
css: {
postcss: { plugins: { autoprefixer: {} }, compress: s_COMPRESS, sourceMap: s_SOURCEMAPS },
postcss: { plugins: [autoprefixer], inject: false, sourceMap: s_SOURCEMAPS },
},
// About server options: