mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
use hash at css (again)
This commit is contained in:
parent
a1a790e56e
commit
2dc1b1def6
2 changed files with 11 additions and 1 deletions
|
@ -14,6 +14,11 @@
|
|||
border-radius: 24px;
|
||||
padding: 0 3px;
|
||||
flex-wrap: wrap;
|
||||
transition: background-color 0.5s;
|
||||
|
||||
&:hover {
|
||||
background: transparentize(black, 0.2);
|
||||
}
|
||||
|
||||
& > div {
|
||||
width: 30px;
|
||||
|
|
|
@ -56,7 +56,12 @@ module.exports = () => {
|
|||
use: [
|
||||
isDevelopment
|
||||
? { loader: 'style-loader' }
|
||||
: { loader: MiniCssExtractPlugin.loader, options: { filename: '[name].[contenthash].css' } },
|
||||
: {
|
||||
loader: MiniCssExtractPlugin.loader({
|
||||
filename: '[name].[contenthash].css',
|
||||
chunkFilename: '[id].css',
|
||||
}),
|
||||
},
|
||||
// { loader: isDevelopment ? 'style-loader' : MiniCssExtractPlugin.loader },
|
||||
// { loader: 'css-loader' },
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue