mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: bundle maps creating extreme filesizes
This commit is contained in:
Binary file not shown.
+8
-1
@@ -5,12 +5,19 @@
|
|||||||
"description": "BetterSEQTA+ is a browser extension that adds features to SEQTA.",
|
"description": "BetterSEQTA+ is a browser extension that adds features to SEQTA.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "parcel watch manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
|
"dev": "parcel watch manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
|
||||||
"build": "parcel build manifest.json --config @parcel/config-webextension --no-content-hash --no-cache",
|
"build": "parcel build manifest.json --config @parcel/config-webextension --no-content-hash --no-cache --no-source-maps",
|
||||||
"dev-firefox": "parcel watch firefox/manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
|
"dev-firefox": "parcel watch firefox/manifest.json --host localhost --config @parcel/config-webextension --no-hmr --no-content-hash",
|
||||||
"build-firefox": "parcel build firefox/manifest.json --config @parcel/config-webextension --no-content-hash --no-cache",
|
"build-firefox": "parcel build firefox/manifest.json --config @parcel/config-webextension --no-content-hash --no-cache",
|
||||||
"eslint": "eslint --fix .",
|
"eslint": "eslint --fix .",
|
||||||
"package": "7z a -tzip extension.zip ./dist/*"
|
"package": "7z a -tzip extension.zip ./dist/*"
|
||||||
},
|
},
|
||||||
|
"targets": {
|
||||||
|
"prod": {
|
||||||
|
"sourceMap": {
|
||||||
|
"inline": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
+3
-7
@@ -1,4 +1,4 @@
|
|||||||
import * as Sentry from "@sentry/browser"
|
import * as Sentry from "@sentry/browser";
|
||||||
|
|
||||||
import { animate, spring, stagger } from 'motion'
|
import { animate, spring, stagger } from 'motion'
|
||||||
import loading, { AppendLoadingSymbol } from './seqta/ui/Loading'
|
import loading, { AppendLoadingSymbol } from './seqta/ui/Loading'
|
||||||
@@ -24,7 +24,7 @@ import browser from 'webextension-polyfill'
|
|||||||
import coursesicon from './seqta/icons/coursesIcon'
|
import coursesicon from './seqta/icons/coursesIcon'
|
||||||
import { delay } from "./seqta/utils/delay"
|
import { delay } from "./seqta/utils/delay"
|
||||||
import { enableCurrentTheme } from './seqta/ui/Themes'
|
import { enableCurrentTheme } from './seqta/ui/Themes'
|
||||||
import iframeCSS from "bundle-text:./css/iframe.scss"
|
import * as iframeCSS from "bundle-text:./css/iframe.scss"
|
||||||
import { onError } from './seqta/utils/onError'
|
import { onError } from './seqta/utils/onError'
|
||||||
import stringToHTML from './seqta/utils/stringToHTML'
|
import stringToHTML from './seqta/utils/stringToHTML'
|
||||||
import { updateAllColors } from './seqta/ui/colors/Manager'
|
import { updateAllColors } from './seqta/ui/colors/Manager'
|
||||||
@@ -742,11 +742,7 @@ function main(storedSetting: SettingsState) {
|
|||||||
Sentry.init({
|
Sentry.init({
|
||||||
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
dsn: "https://54bdb68e80b45182ded22ecf9fe9529c@o4506347383291904.ingest.sentry.io/4506347462393856",
|
||||||
integrations: [
|
integrations: [
|
||||||
new Sentry.BrowserTracing({
|
Sentry.replayIntegration(),
|
||||||
// Set 'tracePropagationTargets' to control for which URLs distributed tracing should be enabled
|
|
||||||
tracePropagationTargets: ["localhost", /^https:\/\/yourserver\.io\/api/],
|
|
||||||
}),
|
|
||||||
new Sentry.Replay(),
|
|
||||||
],
|
],
|
||||||
// Performance Monitoring
|
// Performance Monitoring
|
||||||
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
tracesSampleRate: 1.0, // Capture 100% of the transactions
|
||||||
|
|||||||
Reference in New Issue
Block a user