mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
This reverts commit f5db27396a.
This commit is contained in:
@@ -88,7 +88,6 @@ window.addEventListener("load", async () => {
|
|||||||
if (!env.GOOGLE_ANALYTICS_ID || !window.ga) {
|
if (!env.GOOGLE_ANALYTICS_ID || !window.ga) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/googleanalytics/autotrack/issues/137#issuecomment-305890099
|
// https://github.com/googleanalytics/autotrack/issues/137#issuecomment-305890099
|
||||||
await import("autotrack/autotrack.js");
|
await import("autotrack/autotrack.js");
|
||||||
window.ga("require", "outboundLinkTracker");
|
window.ga("require", "outboundLinkTracker");
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
diff --git a/node_modules/prop-types/index.js b/node_modules/prop-types/index.js
|
|
||||||
index e9ef51d..b68512a 100644
|
|
||||||
--- a/node_modules/prop-types/index.js
|
|
||||||
+++ b/node_modules/prop-types/index.js
|
|
||||||
@@ -17,3 +17,6 @@ if (process.env.NODE_ENV !== 'production') {
|
|
||||||
// http://fb.me/prop-types-in-prod
|
|
||||||
module.exports = require('./factoryWithThrowingShims')();
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+// ESM default export compatibility for bundlers like rolldown-vite
|
|
||||||
+module.exports.default = module.exports;
|
|
||||||
Reference in New Issue
Block a user