Theme and language toggle

This commit is contained in:
Corentin Risselin 2020-01-01 23:14:26 +09:00
commit f11aec082d
14 changed files with 252 additions and 89 deletions

View file

@ -1,4 +1,5 @@
const webpack = require('webpack');
const CopyPlugin = require('copy-webpack-plugin');
const CompressionPlugin = require("compression-webpack-plugin")
const config = require('./webpack.base.js');
@ -18,6 +19,9 @@ module.exports = Object.assign(
'DEBUG': false
} // set a DEBUG flag that can be used in the scripts (can be skipped)
}),
new CopyPlugin([
{from: 'src/lang', to: 'lang'}
]),
new CompressionPlugin(
{
filename: "[path].gz[query]",