added icons to the rows
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user