blakeblackshear.frigate/web/snowpack.config.js
2021-01-26 21:40:33 -06:00

32 lines
536 B
JavaScript

'use strict';
module.exports = {
mount: {
public: { url: '/', static: true },
src: { url: '/dist' },
},
plugins: [
'@snowpack/plugin-postcss',
'@prefresh/snowpack',
[
'@snowpack/plugin-optimize',
{
preloadModules: true,
},
],
[
'@snowpack/plugin-webpack',
{
sourceMap: true,
},
],
],
routes: [{ match: 'routes', src: '.*', dest: '/index.html' }],
packageOptions: {
sourcemap: false,
},
buildOptions: {
sourcemap: true,
},
};