added icons to the rows

This commit is contained in:
2021-10-08 14:56:47 +03:00
parent 239452682c
commit f762af05e5
15 changed files with 73 additions and 15 deletions

View File

@@ -23,7 +23,9 @@ const isDev = process.env.NODE_ENV !== 'production'
const plugins = [
new CleanWebpackPlugin(),
new MiniCssExtractPlugin(),
new MiniCssExtractPlugin({
filename: '[name].[hash].css'
}),
new PurgeCSSPlugin({
paths: glob.sync(`${path.join(__dirname, 'src')}/**/*`, { nodir: true }),
//only: ['bundle', 'vendor']
@@ -51,6 +53,8 @@ const stylesLoaders = loader => {
},
]
console.log(loaders)
if (loader) {
loaders.push(loader)
}
@@ -103,7 +107,7 @@ module.exports = {
],
},
//
entry: { faker: './src/faker', app: './src/index' },
entry: { faker: './src/faker', app: './src/index' },
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].[hash].js',