@wethegit/react-gallery
Advanced tools
Comparing version 0.0.0-beta.2 to 0.0.0-beta.3
{ | ||
"name": "@wethegit/react-gallery", | ||
"version": "0.0.0-beta.2", | ||
"version": "0.0.0-beta.3", | ||
"description": "A customizable, accessible gallery component for React projects.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.mjs", |
const path = require("path") | ||
const webpack = require("webpack") | ||
const MiniCssExtractPlugin = require("mini-css-extract-plugin") | ||
const { name } = require("./package.json") | ||
const WTC_PACKAGE_NAME = name.substring(1) | ||
module.exports = { | ||
@@ -14,27 +11,3 @@ entry: path.resolve(__dirname, "./src/index.js"), | ||
test: /\.s?css$/, | ||
oneOf: [ | ||
{ | ||
test: /\.module\.s?css$/, | ||
use: [ | ||
MiniCssExtractPlugin.loader, | ||
{ | ||
loader: "css-loader", | ||
options: { | ||
modules: { | ||
mode: "pure", | ||
auto: true, | ||
exportGlobals: true, | ||
localIdentName: `${WTC_PACKAGE_NAME}__[local]--[hash:base64:7]`, | ||
localIdentContext: path.resolve(__dirname, "src"), | ||
localIdentHashSalt: WTC_PACKAGE_NAME, | ||
}, | ||
}, | ||
}, | ||
"sass-loader", | ||
], | ||
}, | ||
{ | ||
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"], | ||
}, | ||
], | ||
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"], | ||
}, | ||
@@ -41,0 +14,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26188
67