Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to vite for building #1109

Merged
merged 2 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@nextcloud"]
}
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

63 changes: 63 additions & 0 deletions css/firstrunwizard-main.css

Large diffs are not rendered by default.

27 changes: 0 additions & 27 deletions js/about.js

This file was deleted.

5 changes: 0 additions & 5 deletions js/activate.js

This file was deleted.

8 changes: 8 additions & 0 deletions js/firstrunwizard-about.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as i}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await i(()=>import("./main-BwB0SHeG.mjs"),__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)});
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = [OC.filePath('firstrunwizard', '', 'js/main-BwB0SHeG.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
1 change: 1 addition & 0 deletions js/firstrunwizard-about.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions js/firstrunwizard-activate.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*! third party licenses: js/vendor.LICENSE.txt */
import{_ as t}from"./modulepreload-polyfill-hfIVPvwd.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-BwB0SHeG.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()});
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = [OC.filePath('firstrunwizard', '', 'js/main-BwB0SHeG.mjs'),OC.filePath('firstrunwizard', '', 'css/firstrunwizard-main.css')]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}
1 change: 1 addition & 0 deletions js/firstrunwizard-activate.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions js/firstrunwizard-main.js

This file was deleted.

Loading
Loading