anubis-ui 1.0.11 → 1.0.13

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/README.md CHANGED
@@ -50,11 +50,11 @@ vitePlugins: [
50
50
  ```
51
51
  <sup>quasar.config.js</sup>
52
52
 
53
- 3. Still in the config file, add the generated file to the css usage
53
+ 3. Still in the config file, add the generated file to the css usage (rules are generated in `src/css/_anubis.scss`, file is auto-created)
54
54
  ```js
55
55
  css: [
56
56
  'app.scss',
57
- '~anubis-ui/dist/_anubis.scss'
57
+ '_anubis.scss'
58
58
  ],
59
59
  ```
60
60
  <sup>quasar.config.js</sup>
package/index.js CHANGED
@@ -26,6 +26,9 @@ function AnubisUI() {
26
26
  server.watcher.on('change', async (file) => {
27
27
  console.log({ file });
28
28
 
29
+ // _ Prevent self change loop
30
+ if (file.endsWith('_anubis.vue')) { return }
31
+
29
32
  console.time(`${logPrefix} Refreshed in`);
30
33
  await initClassExtraction();
31
34
  console.timeEnd(`${logPrefix} Refreshed in`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anubis-ui",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "Class-based css generator",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -14,7 +14,7 @@ const logo = () => {
14
14
  }
15
15
 
16
16
  const cssHeader = `/*!
17
- * * Anubis v.1.0.8
17
+ * * Anubis v.1.0.13
18
18
  * * Improba
19
19
  * * Released under the MIT License.
20
20
  * */`