Theme and language toggle
This commit is contained in:
parent
56d40196d6
commit
f11aec082d
14 changed files with 252 additions and 89 deletions
|
|
@ -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]",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue