diff --git a/cmd/templates/angular-template/frontend/src/wailsbridge.js b/cmd/templates/angular-template/frontend/src/wailsbridge.js deleted file mode 100644 index 62c72390..00000000 --- a/cmd/templates/angular-template/frontend/src/wailsbridge.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - Wails Bridge (c) 2019-present Lea Anthony - - This prod version is to get around having to rewrite your code - for production. When doing a release build, this file will be used - instead of the full version. -*/ - -export default { - // The main function - // Passes the main Wails object to the callback if given. - Start: function(callback) { - if (callback) { - window.wails.events.on("wails:ready", callback); - } - } -}; diff --git a/cmd/templates/create-react-app/frontend/src/wailsbridge.js b/cmd/templates/create-react-app/frontend/src/wailsbridge.js deleted file mode 100644 index 20d16b80..00000000 --- a/cmd/templates/create-react-app/frontend/src/wailsbridge.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - Wails Bridge (c) 2019-present Lea Anthony - - This prod version is to get around having to rewrite your code - for production. When doing a release build, this file will be used - instead of the full version. -*/ - -export default { - // The main function - // Passes the main Wails object to the callback if given. - Start: function (callback) { - if (callback) { - window.wails.Events.On("wails:ready", callback); - } - } -};