32 lines
667 B
JavaScript
32 lines
667 B
JavaScript
|
/** @type {import("snowpack").SnowpackUserConfig } */
|
||
|
module.exports = {
|
||
|
mount: {
|
||
|
public: '/',
|
||
|
//src: '/_dist_',
|
||
|
},
|
||
|
plugins: [
|
||
|
[
|
||
|
'@snowpack/plugin-sass', { compilerOptions: { style: 'compressed' } },
|
||
|
],
|
||
|
'@snowpack/plugin-svelte',
|
||
|
'@snowpack/plugin-vue'
|
||
|
],
|
||
|
packageOptions: {
|
||
|
// Blocked by CSS asset support
|
||
|
// source: 'remote',
|
||
|
// types: true,
|
||
|
},
|
||
|
devOptions: {
|
||
|
// Eleventy updates multiple files at once, so add a 1000ms delay before we trigger a browser update
|
||
|
hmrDelay: 1000,
|
||
|
},
|
||
|
buildOptions: {
|
||
|
out: '_site',
|
||
|
},
|
||
|
optimize: {
|
||
|
bundle: true,
|
||
|
minify: true,
|
||
|
target: 'es2018',
|
||
|
},
|
||
|
};
|