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