0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/examples/snowpack/snowpack.config.js
Drew Powers 1fdc1c799a
[wip] Add styles to Snowpack app (#13)
* Add styles to Snowpack app

* Bubble up file build errors

* Fix merge error
2021-03-22 18:06:58 -06:00

26 lines
472 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: {
external: [
'node-fetch'
]
},
buildOptions: {
out: '_site',
},
optimize: {
bundle: true,
minify: true,
target: 'es2018',
},
};