mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-12-23 19:11:14 +01:00
21 lines
494 B
JavaScript
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,
|
|
},
|
|
};
|