diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..58a6839 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,10 @@ +module.exports = { + plugins: ['@babel/plugin-transform-runtime'], + presets: [ + ['@babel/preset-env', { + useBuiltIns: 'usage', + corejs: 3, + }, + ], + ], +}; diff --git a/package.json b/package.json index 249cf5a..63f5106 100644 --- a/package.json +++ b/package.json @@ -1,27 +1,34 @@ { + "browserslist": [ + "defaults", + "ios 8.4" + ], "scripts": { - "start": "npm run dev", - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "serve": "vite preview" + "start": "npm run serve", + "build": "webpack build", + "serve": "webpack serve" }, "devDependencies": { + "@babel/core": "^7.16.0", + "@babel/plugin-transform-runtime": "^7.16.0", + "@babel/preset-env": "^7.16.0", "@types/intl": "^1.2.0", - "@vitejs/plugin-legacy": "^1.6.2", - "@vitejs/plugin-vue": "^1.9.4", - "sass": "^1.23.1", + "babel-loader": "^8.2.3", + "css-loader": "^6.5.1", + "style-loader": "^3.3.1", + "ts-loader": "^9.2.6", "typescript": "^4.2.3", - "vite": "^2.6.13", - "vue-tsc": "^0.29.4" + "webpack": "^5.64.0", + "webpack-cli": "^4.9.1", + "webpack-dev-server": "^4.4.0" }, "dependencies": { "@fullcalendar/core": "^5.10.0", "@fullcalendar/icalendar": "^5.10.1", "@fullcalendar/timegrid": "^5.6.0", - "@fullcalendar/vue3": "^5.10.0", + "core-js": "^3.19.1", "ical.js": "github:ekreative/ical.js#var-ical", "intl": "^1.2.5", - "unique-colors": "^1.0.1", - "vue": "^3.2.20" + "unique-colors": "^1.0.1" } } diff --git a/index.html b/public/index.html similarity index 64% rename from index.html rename to public/index.html index d620beb..26303d3 100644 --- a/index.html +++ b/public/index.html @@ -5,7 +5,7 @@