Spaces:
Runtime error
Runtime error
import adapter from '@sveltejs/adapter-static'; | |
import preprocess from 'svelte-preprocess'; | |
const dev = process.env.NODE_ENV === 'development'; | |
console.log(dev) | |
/** @type {import('@sveltejs/kit').Config} */ | |
const config = { | |
preprocess: [ | |
preprocess({ | |
postcss: true | |
}) | |
], | |
kit: { | |
adapter: adapter({ | |
pages: 'build', | |
assets: 'build', | |
fallback: null, | |
precompress: false | |
}) | |
} | |
}; | |
export default config; | |