2021-01-09 18:26:46 +01:00
|
|
|
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-06-10 21:02:43 +02:00
|
|
|
routes: [{ match: 'all', src: '(?!.*(.svg|.gif|.json|.jpg|.jpeg|.png|.js)).*', 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
|
|
|
},
|
|
|
|
};
|