@quasar/quasar-app-extension-qcalendar 4.0.0-beta.21 → 4.0.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quasar/quasar-app-extension-qcalendar",
3
- "version": "4.0.0-beta.21",
3
+ "version": "4.0.0-beta.22",
4
4
  "description": "A Quasar App Extension for @quasar/quasar-ui-qcalendar",
5
5
  "author": "Jeff Galbraith <jeff@quasar.dev>",
6
6
  "license": "MIT",
@@ -37,7 +37,7 @@
37
37
  "schedule"
38
38
  ],
39
39
  "dependencies": {
40
- "@quasar/quasar-ui-qcalendar": "^4.0.0-beta.21"
40
+ "@quasar/quasar-ui-qcalendar": "^4.0.0-beta.22"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@babel/core": "^7.17.8",
@@ -1,4 +1,4 @@
1
- import { defineBoot } from '#q-app/wrappers'
1
+ import { defineBoot } from '@quasar/app-vite/wrappers'
2
2
  import VuePlugin from '@quasar/quasar-ui-qcalendar'
3
3
 
4
4
  export default defineBoot(({ app }) => {
@@ -0,0 +1,6 @@
1
+ import { defineBoot } from '@quasar/app-webpack/wrappers'
2
+ import VuePlugin from '@quasar/quasar-ui-qcalendar'
3
+
4
+ export default defineBoot(({ app }) => {
5
+ app.use(VuePlugin)
6
+ })
package/src/index.js CHANGED
@@ -7,10 +7,12 @@
7
7
  */
8
8
 
9
9
  function extendConf(conf, api) {
10
- // register our boot file
11
- conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/register.js')
12
-
13
- if (api.hasVite !== true) {
10
+ if (api.hasVite) {
11
+ // register the boot file
12
+ conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/vite-register.js')
13
+ } else {
14
+ // register the boot file
15
+ conf.boot.push('~@quasar/quasar-app-extension-qcalendar/src/boot/webpack-register.js')
14
16
  // make sure app extension files & ui packages get transpiled
15
17
  conf.build.webpackTranspileDependencies = conf.build.webpackTranspileDependencies || []
16
18
  conf.build.webpackTranspileDependencies.push(/quasar-app-extension-qcalendar[\\/]src/)