pukaad-ui-lib 1.246.9 → 1.246.11

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.11",
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,19 @@ 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 runtimeDir = resolver.resolve("./runtime");
188
+ const rootDir = _nuxt.options.rootDir;
189
+ const template = addTemplate({
190
+ filename: "pukaad-ui-core.css",
191
+ write: true,
192
+ getContents: () => `@import "${coreCssPath}";
193
+ @source "${runtimeDir}/**/*.vue";
194
+ @source "${rootDir}/**/*.vue";
195
+ @source "${rootDir}/**/*.ts";
196
+ `
197
+ });
198
+ _nuxt.options.css.push(template.dst);
187
199
  }
188
200
  if (css.quill) {
189
201
  _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.11",
4
4
  "description": "pukaad-ui for MeMSG",
5
5
  "repository": {
6
6
  "type": "git",