Skip to content

Commit

Permalink
Feat: 웹 성능 최적화 (#73)
Browse files Browse the repository at this point in the history
* Feat: Code splitting, dynamic import (React.lazy)

* Feat: Font Opt

* Feat: png to webp
  • Loading branch information
sjsjsj1246 authored Nov 3, 2023
1 parent 2a42eb1 commit 4659a0a
Show file tree
Hide file tree
Showing 145 changed files with 435 additions and 5,219 deletions.
39 changes: 0 additions & 39 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,45 +42,6 @@
<div id="nurse-modal-root"></div>
<script type="module" src="/src/main.tsx"></script>
<script>
(function () {
var w = window;
if (w.ChannelIO) {
return w.console.error('ChannelIO script included twice.');
}
var ch = function () {
ch.c(arguments);
};
ch.q = [];
ch.c = function (args) {
ch.q.push(args);
};
w.ChannelIO = ch;
function l() {
if (w.ChannelIOInitialized) {
return;
}
w.ChannelIOInitialized = true;
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://cdn.channel.io/plugin/ch-plugin-web.js';
var x = document.getElementsByTagName('script')[0];
if (x.parentNode) {
x.parentNode.insertBefore(s, x);
}
}
if (document.readyState === 'complete') {
l();
} else {
w.addEventListener('DOMContentLoaded', l);
w.addEventListener('load', l);
}
})();

ChannelIO('boot', {
pluginKey: '%VITE_CHANNEL_TALK_PLUGIN_KEY%',
});

(function (a_, i_, r_, _b, _r, _i, _d, _g, _e) {
if (!a_[_b]) {
var m = function () {
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@
"coverage": "vitest run --coverage"
},
"dependencies": {
"@hackler/react-sdk": "^11.16.3",
"@hookform/resolvers": "^3.3.1",
"@sentry/react": "^7.60.0",
"@tanstack/react-query": "^4.32.0",
"@tanstack/react-query-devtools": "^4.32.0",
"@types/react-beautiful-dnd": "^13.1.4",
"airbridge-web-sdk-loader": "^1.7.0",
"axios": "^1.4.0",
"exceljs": "^4.3.0",
"firebase": "^10.1.0",
"history": "^5.3.0",
"immer": "^10.0.2",
"lodash-es": "^4.17.21",
Expand Down Expand Up @@ -54,6 +50,7 @@
"@types/lodash-es": "^4.17.8",
"@types/qs": "^6.9.7",
"@types/react": "^18.2.15",
"@types/react-beautiful-dnd": "^13.1.4",
"@types/react-dom": "^18.2.7",
"@types/react-helmet": "^6.1.7",
"@types/testing-library__jest-dom": "^5.14.8",
Expand Down
Loading

0 comments on commit 4659a0a

Please sign in to comment.