Files
frigate/web/snowpack.config.js
T

20 lines
466 B
JavaScript
Raw Normal View History

2021-01-09 09:26:46 -08:00
module.exports = {
mount: {
public: { url: '/', static: true },
src: { url: '/dist' },
},
2021-02-05 08:07:24 -08:00
plugins: ['@snowpack/plugin-postcss', '@prefresh/snowpack', 'snowpack-plugin-hash'],
routes: [{ match: 'all', src: '(?!.*(.svg|.gif|.json|.jpg|.jpeg|.png|.js)).*', dest: '/index.html' }],
2021-02-05 08:07:24 -08:00
optimize: {
2021-02-07 07:33:37 -08:00
bundle: false,
2021-02-05 08:07:24 -08:00
minify: true,
treeshake: true,
},
packageOptions: {
sourcemap: false,
2021-01-09 09:26:46 -08:00
},
buildOptions: {
2021-02-05 08:07:24 -08:00
sourcemap: false,
2021-01-09 09:26:46 -08:00
},
};