mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
3db5959377
This updates `astro build` to do a production build. It works! No optimizations yet.
22 lines
429 B
JavaScript
22 lines
429 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: {},
|
|
buildOptions: {
|
|
out: '_site',
|
|
},
|
|
optimize: {
|
|
bundle: false,
|
|
minify: true,
|
|
target: 'es2018',
|
|
},
|
|
};
|