This commit is contained in:
tamaina 2021-12-11 00:51:53 +09:00
parent 447b7164bd
commit be6d57a3b9
1 changed files with 0 additions and 4 deletions

View File

@ -48,10 +48,6 @@ module.exports = {
_DEV_: process.env.NODE_ENV !== 'production', _DEV_: process.env.NODE_ENV !== 'production',
_PERF_PREFIX_: JSON.stringify('Misskey:'), _PERF_PREFIX_: JSON.stringify('Misskey:'),
}), }),
new WebpackOnBuildPlugin(() => {
fs.mkdirSync(__dirname + '/../../built', { recursive: true });
fs.writeFileSync(__dirname + '/../../built/meta.json', JSON.stringify({ version: meta.version }), 'utf-8');
}),
], ],
output: { output: {
path: __dirname + '/../../built/_sw_dist_', path: __dirname + '/../../built/_sw_dist_',