blakeblackshear.frigate/web/snowpack.config.js
2021-06-12 07:23:14 -05:00

21 lines
494 B
JavaScript

module.exports = {
mount: {
public: { url: '/', static: true },
src: { url: '/dist' },
},
exclude: ['**/jsmpeg.*'],
plugins: ['@snowpack/plugin-postcss', '@prefresh/snowpack', 'snowpack-plugin-hash'],
routes: [{ match: 'all', src: '(?!.*(.svg|.gif|.json|.jpg|.jpeg|.png|.js)).*', dest: '/index.html' }],
optimize: {
bundle: false,
minify: true,
treeshake: true,
},
packageOptions: {
sourcemap: false,
},
buildOptions: {
sourcemap: false,
},
};