diff --git a/packages/bootstrap/package.json b/packages/bootstrap/package.json index 5bbfba2..ae81d73 100644 --- a/packages/bootstrap/package.json +++ b/packages/bootstrap/package.json @@ -12,6 +12,8 @@ "test": "yarn --silent run build --display none && mocha --colors test.js" }, "files": [ + "client.js", + "client.js.map", "index.js", "index.js.map", "server.js", diff --git a/packages/bootstrap/src/client/index.js b/packages/bootstrap/src/client/index.js new file mode 100644 index 0000000..660056f --- /dev/null +++ b/packages/bootstrap/src/client/index.js @@ -0,0 +1,7 @@ +export default { + hooks: { + '@latus/core/starting': (latus) => { + window.latus = latus; + }, + }, +};