Skip to content

Commit

Permalink
forgot to add the snowpack.config.js
Browse files Browse the repository at this point in the history
Signed-off-by: Try Ajitiono <ballinst@gmail.com>
  • Loading branch information
imballinst committed Oct 4, 2020
1 parent 700963a commit 79b69a7
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions snowpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
mount: {
public: '/',
src: '/_dist_'
},
plugins: [
'@snowpack/plugin-vue',
'@snowpack/plugin-dotenv',
[
'@snowpack/plugin-build-script',
{ cmd: 'postcss', input: ['.css'], output: ['.css'] }
],
[
'snowpack-plugin-imagemin',
{
/* see "Plugin Options" below */
include: ['**/*.jpg', '**/*.png'],
plugins: [
require('imagemin-mozjpeg')({ quality: 90, progressive: true }),
require('imagemin-optipng')({ optimizationLevel: 7 })
]
}
],
['@snowpack/plugin-webpack']
],
proxy: {}
};

0 comments on commit 79b69a7

Please sign in to comment.