-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsvelte.config.js
More file actions
35 lines (32 loc) · 846 Bytes
/
Copy pathsvelte.config.js
File metadata and controls
35 lines (32 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import adapter from '@sveltejs/adapter-auto';
import preprocess from 'svelte-preprocess';
import autoprefixer from 'autoprefixer';
import presetEnv from 'postcss-preset-env';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: preprocess({
sourceMap: true,
postcss: {
plugins: [
autoprefixer(),
presetEnv({
features: {
'nesting-rules': true,
'custom-properties': true,
'gap-properties': true,
'not-pseudo-class': true,
'custom-media-queries': {
importFrom: 'src/queries.pcss',
},
},
}),
]
}
}),
kit: {
adapter: adapter(),
}
};
export default config;