-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Amr Wagdy
committed
Apr 18, 2023
1 parent
b78fff7
commit 47c11fe
Showing
15 changed files
with
473 additions
and
997 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
build/blur-hash/js-cloudimage-responsive.min.js.LICENSE.txt
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/*! | ||
* | ||
* js-cloudimage-responsive v4.9.0 with low quality image placeholder technique | ||
* js-cloudimage-responsive v4.9.2 with low quality image placeholder technique | ||
* https://github.com/scaleflex/js-cloudimage-responsive | ||
* | ||
* Copyright (c) 2022 scaleflex | ||
* Released under the MIT license | ||
* | ||
* Date: 2022-08-15T20:33:53.648Z | ||
* Date: 2023-04-18T18:58:20.968Z | ||
* | ||
*/img[ci-src]{opacity:0}div.ci-image-wrapper{display:block;width:100%;overflow:hidden;position:relative}img.ci-image{display:block;width:100%;padding:0!important;position:absolute;top:0;left:0;height:auto}img.ci-image-loaded{opacity:1}img.ci-image-ratio.ci-image-preview{height:100%}.ci-bg,.ci-bg>*{position:relative}.ci-bg:before{content:"";position:absolute;top:0;bottom:0;right:0;left:0;background:inherit;filter:blur(0);transition:filter .4s ease-in-out}.ci-bg.ci-bg-animation:before{filter:blur(10px)} | ||
*/img[ci-src]{opacity:0}div.ci-image-wrapper{display:block;overflow:hidden;position:relative;width:100%}img.ci-image{display:block;height:auto;left:0;padding:0!important;position:absolute;top:0;width:100%}img.ci-image-loaded{opacity:1}img.ci-image-ratio.ci-image-preview{height:100%}.ci-bg,.ci-bg>*{position:relative}.ci-bg:before{background:inherit;bottom:0;content:"";filter:blur(0);left:0;position:absolute;right:0;top:0;transition:filter .4s ease-in-out}.ci-bg.ci-bg-animation:before{filter:blur(10px)} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
/* eslint-disable import/no-nodejs-modules */ | ||
/* eslint-disable import/no-commonjs */ | ||
const path = require('path'); | ||
const HtmlWebpackPlugin = require("html-webpack-plugin"); | ||
const MiniCssExtractPlugin = require("mini-css-extract-plugin"); | ||
const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | ||
|
||
|
||
const htmlWebpackPlugin = new HtmlWebpackPlugin({ | ||
template: path.join(__dirname, "../../examples/low-preview/src/index.html"), | ||
filename: "./index.html" | ||
template: path.join(__dirname, '../../examples/low-preview/src/index.html'), | ||
filename: './index.html', | ||
}); | ||
|
||
const miniCssExtractPlugin = new MiniCssExtractPlugin({ | ||
// Options similar to the same options in webpackOptions.output | ||
// both options are optional | ||
filename: "[name].css", | ||
chunkFilename: "[id].css", | ||
}) | ||
filename: '[name].css', | ||
chunkFilename: '[id].css', | ||
}); | ||
module.exports = { | ||
entry: path.resolve(__dirname, "../../examples/low-preview/src/index.js"), | ||
entry: path.resolve(__dirname, '../../examples/low-preview/src/index.js'), | ||
output: { | ||
path: path.join(__dirname, "../../examples/low-preview/dist"), | ||
filename: "bundle[hash].js" | ||
path: path.join(__dirname, '../../examples/low-preview/dist'), | ||
filename: 'bundle[hash].js', | ||
}, | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.(js|jsx)$/, | ||
use: "babel-loader", | ||
exclude: /node_modules/ | ||
use: 'babel-loader', | ||
exclude: /node_modules/, | ||
}, | ||
{ | ||
test: /\.css$/, | ||
use: [ MiniCssExtractPlugin.loader, "css-loader" ], | ||
use: [MiniCssExtractPlugin.loader, 'css-loader'], | ||
}, | ||
] | ||
], | ||
}, | ||
plugins: [htmlWebpackPlugin, miniCssExtractPlugin], | ||
resolve: { | ||
extensions: [".js", ".jsx"] | ||
extensions: ['.js', '.jsx'], | ||
}, | ||
devServer: { | ||
port: 3001 | ||
port: 3001, | ||
}, | ||
devtool: 'source-map' | ||
}; | ||
devtool: 'source-map', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.