- Consolidated duplicate UndoManagers to single instance - Fixed connection promise to only resolve on 'connected' status - Fixed WebSocketProvider import (WebsocketProvider) - Added proper doc.destroy() cleanup - Renamed isPresenceInitialized property to avoid conflict Co-Authored-By: Paperclip <noreply@paperclip.ing>
35 lines
676 B
JavaScript
35 lines
676 B
JavaScript
const jsxTransform = require("babel-plugin-jsx-dom-expressions");
|
|
|
|
module.exports = function (context, options = {}) {
|
|
const plugins = [
|
|
[
|
|
jsxTransform,
|
|
Object.assign(
|
|
{
|
|
moduleName: "solid-js/web",
|
|
builtIns: [
|
|
"For",
|
|
"Show",
|
|
"Switch",
|
|
"Match",
|
|
"Suspense",
|
|
"SuspenseList",
|
|
"Portal",
|
|
"Index",
|
|
"Dynamic",
|
|
"ErrorBoundary"
|
|
],
|
|
contextToCustomElements: true,
|
|
wrapConditionals: true,
|
|
generate: "dom"
|
|
},
|
|
options
|
|
)
|
|
]
|
|
];
|
|
|
|
return {
|
|
plugins
|
|
};
|
|
};
|