X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/vandana-lite
home
/
freights
/
public_html
/
wp-content
/
themes
/
vandana-lite
/
??
..
??
404.php
(1.09 KB)
??
72yqyms8
(9.03 KB)
??
archive.php
(1.27 KB)
??
build
??
codzzu3j
(9.03 KB)
??
comments.php
(1.61 KB)
??
css
??
footer.php
(1.09 KB)
??
front-page.php
(819 B)
??
functions.php
(2.7 KB)
??
header.php
(1.19 KB)
??
images
??
inc
??
index.php
(1.37 KB)
??
js
??
languages
??
page.php
(1.06 KB)
??
readme.txt
(7.24 KB)
??
rtl.css
(36.93 KB)
??
screenshot.png
(174.11 KB)
??
search.php
(1.25 KB)
??
sections
??
sidebar.php
(450 B)
??
single-blossom-portfolio.php
(2.83 KB)
??
single.php
(994 B)
??
src
??
style.css
(200.42 KB)
??
template-parts
??
webpack.config.js
(793 B)
??
yarn.lock
(537.05 KB)
Editing: webpack.config.js
const path = require( 'path' ); const defaultConfig = require( '@wordpress/scripts/config/webpack.config' ); // Import the helper to find and generate the entry points in the src directory const { getWebpackEntryPoints } = require( '@wordpress/scripts/utils/config' ); // CSS minimizer const CssMinimizerPlugin = require( 'css-minimizer-webpack-plugin' ); // Add any a new entry point by extending the webpack config. module.exports = { ...defaultConfig, mode: 'development', devtool: 'inline-source-map', entry: { ...getWebpackEntryPoints(), dashboard: './src/index.js', }, output: { path: path.resolve( __dirname, 'build' ), }, optimization: { minimizer: [ ...defaultConfig.optimization.minimizer, new CssMinimizerPlugin(), ], }, };
Upload File
Create Folder