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,5 +1,6 @@
const path = require('path');
const webpack = require('webpack');
const CopyPlugin = require('copy-webpack-plugin');
const CompressionPlugin = require("compression-webpack-plugin")
const config = require('./webpack.base.js');
@ -30,6 +31,9 @@ module.exports = Object.assign(
'DEBUG': true
} // set a DEBUG flag that can be used in the scripts
}),
new CopyPlugin([
{from: 'src/lang', to: 'lang'}
]),
new CompressionPlugin(
{
filename: "[path].gz[query]",