mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
20 lines
466 B
JavaScript
20 lines
466 B
JavaScript
module.exports = {
|
|
mount: {
|
|
public: { url: '/', static: true },
|
|
src: { url: '/dist' },
|
|
},
|
|
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,
|
|
},
|
|
};
|