@bootstrap-vue-next/nuxt 0.22.6 → 0.22.7

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/dist/module.d.mts CHANGED
@@ -18,6 +18,12 @@ interface ModuleOptions {
18
18
  * @default true
19
19
  */
20
20
  directives: ConfigurationValue<keyof typeof Directives>;
21
+ /**
22
+ * Manages the inclusion of the module's CSS. It is recommended to leave this enabled unless there are conflicts with other styles.
23
+ *
24
+ * @default true
25
+ */
26
+ css: boolean;
21
27
  /**
22
28
  * @default {}
23
29
  */
package/dist/module.d.ts CHANGED
@@ -18,6 +18,12 @@ interface ModuleOptions {
18
18
  * @default true
19
19
  */
20
20
  directives: ConfigurationValue<keyof typeof Directives>;
21
+ /**
22
+ * Manages the inclusion of the module's CSS. It is recommended to leave this enabled unless there are conflicts with other styles.
23
+ *
24
+ * @default true
25
+ */
26
+ css: boolean;
21
27
  /**
22
28
  * @default {}
23
29
  */
package/dist/module.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "nuxt": "^3.0.0",
6
6
  "bridge": false
7
7
  },
8
- "version": "0.22.6",
8
+ "version": "0.22.7",
9
9
  "builder": {
10
10
  "@nuxt/module-builder": "0.6.0",
11
11
  "unbuild": "2.0.0"
package/dist/module.mjs CHANGED
@@ -39,15 +39,17 @@ const module = defineNuxtModule({
39
39
  defaults: {
40
40
  composables: true,
41
41
  directives: true,
42
+ css: true,
42
43
  plugin: {}
43
44
  },
44
45
  setup(options, nuxt) {
45
46
  const { resolve } = createResolver(import.meta.url);
46
47
  nuxt.options.build.transpile.push(resolve("./runtime"));
47
- nuxt.options.css.push("bootstrap-vue-next/dist/bootstrap-vue-next.css");
48
+ if (options.css === true) {
49
+ nuxt.options.css.push("bootstrap-vue-next/dist/bootstrap-vue-next.css");
50
+ }
48
51
  const normalizedComposableOptions = normalizeConfigurationValue(options.composables);
49
52
  const normalizedDirectiveOptions = normalizeConfigurationValue(options.directives);
50
- nuxt.options.css.push("bootstrap-vue-next/dist/bootstrap-vue-next.css");
51
53
  nuxt.options.vite.optimizeDeps = nuxt.options.vite.optimizeDeps || {};
52
54
  nuxt.options.vite.optimizeDeps.include = nuxt.options.vite.optimizeDeps.include || [];
53
55
  nuxt.options.vite.optimizeDeps.include.push("bootstrap-vue-next");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bootstrap-vue-next/nuxt",
3
3
  "description": "Nuxt Module for BootstrapVueNext",
4
- "version": "0.22.6",
4
+ "version": "0.22.7",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Issayah",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "types": "./dist/types.d.ts",
23
23
  "peerDependencies": {
24
- "bootstrap-vue-next": "^0.22.6"
24
+ "bootstrap-vue-next": "^0.22.7"
25
25
  },
26
26
  "dependencies": {
27
27
  "@nuxt/kit": "^3.11.2"
@@ -41,7 +41,7 @@
41
41
  "prettier": "^3.2.5",
42
42
  "unimport": "^3.7.1",
43
43
  "vue": "^3.4.27",
44
- "bootstrap-vue-next": "^0.22.6"
44
+ "bootstrap-vue-next": "^0.22.7"
45
45
  },
46
46
  "repository": {
47
47
  "type": "git",