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,
|
|
|
|
},
|
|
|
|
],
|
2021-01-16 19:12:39 +01:00
|
|
|
[
|
|
|
|
'@snowpack/plugin-webpack',
|
|
|
|
{
|
|
|
|
sourceMap: true,
|
|
|
|
},
|
|
|
|
],
|
2021-01-09 18:26:46 +01:00
|
|
|
],
|
2021-01-18 19:49:00 +01:00
|
|
|
routes: [{ match: 'routes', src: '.*', dest: '/index.html' }],
|
2021-01-16 19:12:39 +01:00
|
|
|
packageOptions: {
|
|
|
|
sourcemap: false,
|
2021-01-09 18:26:46 +01:00
|
|
|
},
|
|
|
|
buildOptions: {
|
2021-01-16 19:12:39 +01:00
|
|
|
sourcemap: true,
|
2021-01-09 18:26:46 +01:00
|
|
|
},
|
|
|
|
};
|