blakeblackshear.frigate/web/snowpack.config.js

32 lines
536 B
JavaScript
Raw Normal View History

2021-01-09 18:26:46 +01:00
'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,
},
],
2021-01-09 18:26:46 +01:00
],
routes: [{ match: 'routes', src: '.*', dest: '/index.html' }],
packageOptions: {
sourcemap: false,
2021-01-09 18:26:46 +01:00
},
buildOptions: {
sourcemap: true,
2021-01-09 18:26:46 +01:00
},
};