blakeblackshear.frigate/web/snowpack.config.js

20 lines
426 B
JavaScript
Raw Normal View History

2021-01-09 18:26:46 +01:00
module.exports = {
mount: {
public: { url: '/', static: true },
src: { url: '/dist' },
},
plugins: ['@snowpack/plugin-postcss', '@prefresh/snowpack', 'snowpack-plugin-hash'],
routes: [{ match: 'routes', src: '.*', dest: '/index.html' }],
optimize: {
2021-02-07 16:33:37 +01:00
bundle: false,
minify: true,
treeshake: true,
},
packageOptions: {
sourcemap: false,
2021-01-09 18:26:46 +01:00
},
buildOptions: {
sourcemap: false,
2021-01-09 18:26:46 +01:00
},
};