pukaad-ui-lib 1.246.9 → 1.246.10

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.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
3
  "configKey": "pukaadUI",
4
- "version": "1.246.9",
4
+ "version": "1.246.10",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { defineNuxtModule, createResolver, addImportsDir, addComponentsDir, installModule, addPlugin } from '@nuxt/kit';
1
+ import { defineNuxtModule, createResolver, addImportsDir, addComponentsDir, installModule, addPlugin, addTemplate } from '@nuxt/kit';
2
2
  import { createRequire } from 'module';
3
3
  import tailwindcss from '@tailwindcss/vite';
4
4
 
@@ -183,7 +183,17 @@ const module$1 = defineNuxtModule({
183
183
  _nuxt.options.css.push(_require.resolve("leaflet/dist/leaflet.css"));
184
184
  }
185
185
  if (css.core) {
186
- _nuxt.options.css.push(resolver.resolve("./runtime/assets/css/core.css"));
186
+ const coreCssPath = resolver.resolve("./runtime/assets/css/core.css");
187
+ const rootDir = _nuxt.options.rootDir;
188
+ const template = addTemplate({
189
+ filename: "pukaad-ui-core.css",
190
+ write: true,
191
+ getContents: () => `@import "${coreCssPath}";
192
+ @source "${rootDir}/**/*.vue";
193
+ @source "${rootDir}/**/*.ts";
194
+ `
195
+ });
196
+ _nuxt.options.css.push(template.dst);
187
197
  }
188
198
  if (css.quill) {
189
199
  _nuxt.options.css.push(resolver.resolve("./runtime/assets/css/quill.css"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pukaad-ui-lib",
3
- "version": "1.246.9",
3
+ "version": "1.246.10",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",