mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-29 17:19:51 +08:00
* Add webpack bundeling for client side libraries. Started with Sentry. * Fix docs, sentry version, and yarn update script. - Moved the documentation for installing libraries into `docs/contributing/frontend.rst` - Used the exact version of Sentry. - Removed Sentry from old `yarn-update` script * Remove sentry and browserify from scripts/yarn/package.json It is no longer needed here. * Remove unused License: BSD-3-Clause * Modify yarn-update.yml to update client/ packages * Trigger yarn update on client/* changes * Add standalone license file for Sentry The license header in the file gets overwritten by yarn build. * Update yarn.lock Co-authored-by: Michal Čihař <michal@cihar.com>
17 lines
365 B
JavaScript
17 lines
365 B
JavaScript
// Copyright © Michal Čihař <michal@weblate.org>
|
|
//
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
const path = require("node:path");
|
|
|
|
module.exports = {
|
|
entry: {
|
|
main: "./src/main.js",
|
|
sentry: "./src/sentry.js",
|
|
},
|
|
mode: "production",
|
|
output: {
|
|
filename: "[name].js",
|
|
path: path.resolve(__dirname, "../weblate/static/js/vendor"),
|
|
},
|
|
};
|