__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
const path = require('path');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const CopyPlugin = require("copy-webpack-plugin");
module.exports = {
output: {
path: path.resolve(__dirname, "styles/css")
},
entry: {
index: [path.join(path.resolve(__dirname, 'styles'), "scss", "application.scss")]
},
mode: "production",
module: {
rules: [
{
test: /\.s[ac]ss$/i,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader']
},
{
test: /\.(woff(2)?|ttf|eot|svg)$/,
type: 'asset/resource',
generator: {
filename: './fonts/[name][ext]'
}
}
]
},
plugins: [
new MiniCssExtractPlugin({
filename: "application.css"
}),
new CopyPlugin({
patterns: [
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'h5p-image-cropper', 'cropper.js'),
to: path.join(path.resolve(__dirname, 'libs'), 'cropper.js')
},
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'h5p-image-cropper', 'cropper.css'),
to: path.join(path.resolve(__dirname, 'libs'), 'cropper.css')
},
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'h5p-image-cropper', 'images'),
to: path.join(path.resolve(__dirname, 'images'), 'cropper')
},
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'zebra_datepicker', 'dist', 'zebra_datepicker.min.js'),
to: path.join(path.resolve(__dirname, 'libs'), 'zebra_datepicker.min.js')
},
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'zebra_datepicker', 'dist', 'css', 'bootstrap', 'zebra_datepicker.min.css'),
to: path.join(path.resolve(__dirname, 'styles'), 'css', 'libs', 'zebra_datepicker.min.css')
},
{
from: path.join(path.resolve(__dirname, 'node_modules'), 'zebra_datepicker', 'dist', 'css', 'bootstrap', 'icons.png'),
to: path.join(path.resolve(__dirname, 'styles'), 'css', 'libs', 'icons.png')
}
]
})
]
};
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ckeditor | Folder | 0777 |
|
|
| ckeditor5 | Folder | 0777 |
|
|
| images | Folder | 0777 |
|
|
| language | Folder | 0777 |
|
|
| libs | Folder | 0777 |
|
|
| scripts | Folder | 0777 |
|
|
| styles | Folder | 0777 |
|
|
| README.md | File | 624 B | 0777 |
|
| composer.json | File | 928 B | 0777 |
|
| h5peditor-ajax.class.php | File | 14.93 KB | 0777 |
|
| h5peditor-ajax.interface.php | File | 1.4 KB | 0777 |
|
| h5peditor-file.class.php | File | 6.14 KB | 0777 |
|
| h5peditor-storage.interface.php | File | 3.07 KB | 0777 |
|
| h5peditor.class.php | File | 27.03 KB | 0777 |
|
| package-lock.json | File | 80.27 KB | 0777 |
|
| package.json | File | 703 B | 0777 |
|
| readme_moodle.txt | File | 1.75 KB | 0777 |
|
| webpack.config.js | File | 2.08 KB | 0777 |
|