@pushword/js-helper 0.0.58 → 0.0.59

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": "@pushword/js-helper",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Pushword front end helpers. ",
5
5
  "author": "Robin@PiedWeb <contact@piedweb.com>",
6
6
  "license": "MIT",
package/src/encore.js CHANGED
@@ -2,15 +2,15 @@ const WatchExternalFilesPlugin = require("webpack-watch-files-plugin").default;
2
2
  const Encore = require("@symfony/webpack-encore");
3
3
  const tailwindcss = require("tailwindcss");
4
4
 
5
- function getFilesToWatch() {
5
+ function getFilesToWatch(basePath = "./..") {
6
6
  return [
7
- "./../vendor/pushword/core/src/templates/**/*.html.twig",
8
- "./../vendor/pushword/core/src/templates/*.html.twig",
9
- "./../vendor/pushword/conversation/src/templates/*.html.twig",
10
- "./../vendor/pushword/admin-block-editor/src/templates/page/*.html.twig",
11
- "./../templates/*.html.twig",
12
- "./../templates/**/*.html.twig",
13
- "./../templates/**/**/*.html.twig",
7
+ basePath + "/vendor/pushword/core/src/templates/**/*.html.twig",
8
+ basePath + "/vendor/pushword/core/src/templates/*.html.twig",
9
+ basePath + "/vendor/pushword/conversation/src/templates/*.html.twig",
10
+ basePath + "/vendor/pushword/admin-block-editor/src/templates/page/*.html.twig",
11
+ basePath + "/templates/*.html.twig",
12
+ basePath + "/templates/**/*.html.twig",
13
+ basePath + "/templates/**/**/*.html.twig",
14
14
  ];
15
15
  }
16
16
  function getTailwindConfig(watchFiles = null) {
@@ -51,8 +51,3 @@ html {
51
51
  max-height: 100vh;
52
52
  padding-top: 1rem;
53
53
  }
54
-
55
- /*
56
- * Special full-width from everywhere alias .w-full-vw:
57
- w-screen relative left-[49%] ml-[-50vw] my-6
58
- */