forked from Github/frigate
refactor(web): use snowpack-plugin-hash
This commit is contained in:
committed by
Blake Blackshear
parent
d51e9446ff
commit
a99f360a64
@@ -5,21 +5,17 @@ module.exports = {
|
||||
public: { url: '/', static: true },
|
||||
src: { url: '/dist' },
|
||||
},
|
||||
plugins: [
|
||||
'@snowpack/plugin-postcss',
|
||||
'@prefresh/snowpack',
|
||||
[
|
||||
'@snowpack/plugin-webpack',
|
||||
{
|
||||
sourceMap: true,
|
||||
},
|
||||
],
|
||||
],
|
||||
plugins: ['@snowpack/plugin-postcss', '@prefresh/snowpack', 'snowpack-plugin-hash'],
|
||||
routes: [{ match: 'routes', src: '.*', dest: '/index.html' }],
|
||||
optimize: {
|
||||
bundle: true,
|
||||
minify: true,
|
||||
treeshake: true,
|
||||
},
|
||||
packageOptions: {
|
||||
sourcemap: false,
|
||||
},
|
||||
buildOptions: {
|
||||
sourcemap: true,
|
||||
sourcemap: false,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user