mirror of
https://github.com/bitwarden/server.git
synced 2025-04-17 19:18:16 -05:00
![renovate[bot]](/assets/img/avatar_default.png)
* [deps] Auth: Update bootstrap to v5 [SECURITY] * Update bootstrap and import dependencies in site.scss * Update site.scss to include the theme color 'dark' * Refactor site.scss to merge the 'primary-accent' theme color into the existing theme colors * Update bootstrap classes for v5 * Refactor form layout in Index.cshtml and AddExistingOrganization.cshtml * Revert change to the shield icon in the navbar * Fix organization form select inputs * Fixed search input sizes * Fix elements in Providers and Users search * More bootstrap migration * Revert change to tax rate delete button * Add missing label classes in Users/Edit.cshtml * More component migrations * Refactor form classes and labels in CreateMsp.cshtml and CreateReseller.cshtml * Update package dependencies in Sso * Revert changes to Providers/Edit.cshtml * Refactor CreateMultiOrganizationEnterprise.cshtml and Providers/Edit.cshtml for bootstrap 5 * Refactor webpack.config.js to use @popperjs/core instead of popper.js * Remove popperjs package dependency * Restore Bootstrap 4 link styling behavior - Remove default text decoration - Add underline only on hover * Update Bootstrap to version 5.3.3 * Update deprecated text color classes from 'text-muted' to 'text-body-secondary' across various views * Refactor provider edit view for bootstrap 5 * Remove underline in Add/Create organization links in provider page --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Rui Tome <rtome@bitwarden.com> Co-authored-by: Rui Tomé <108268980+r-tome@users.noreply.github.com>
65 lines
1.4 KiB
JavaScript
65 lines
1.4 KiB
JavaScript
const path = require("path");
|
|
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
|
|
|
|
const paths = {
|
|
assets: "./wwwroot/assets/",
|
|
sassDir: "./Sass/",
|
|
};
|
|
|
|
/** @type {import("webpack").Configuration} */
|
|
module.exports = {
|
|
mode: "production",
|
|
devtool: "source-map",
|
|
entry: {
|
|
site: [
|
|
path.resolve(__dirname, paths.sassDir, "site.scss"),
|
|
"bootstrap",
|
|
"jquery",
|
|
"font-awesome/css/font-awesome.css",
|
|
"toastr",
|
|
"toastr/build/toastr.css",
|
|
],
|
|
},
|
|
output: {
|
|
clean: true,
|
|
path: path.resolve(__dirname, paths.assets),
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.(sa|sc|c)ss$/,
|
|
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"],
|
|
},
|
|
{
|
|
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
|
exclude: /loading(|-white).svg/,
|
|
generator: {
|
|
filename: "fonts/[name].[contenthash][ext]",
|
|
},
|
|
type: "asset/resource",
|
|
},
|
|
|
|
// Expose jquery and toastr globally so they can be used directly in asp.net
|
|
{
|
|
test: require.resolve("jquery"),
|
|
loader: "expose-loader",
|
|
options: {
|
|
exposes: ["$", "jQuery"],
|
|
},
|
|
},
|
|
{
|
|
test: require.resolve("toastr"),
|
|
loader: "expose-loader",
|
|
options: {
|
|
exposes: ["toastr"],
|
|
},
|
|
},
|
|
],
|
|
},
|
|
plugins: [
|
|
new MiniCssExtractPlugin({
|
|
filename: "[name].css",
|
|
}),
|
|
],
|
|
};
|