@onderwijsin/nuxt-loops-renderer 0.2.2 → 0.2.3
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 +5 -5
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -115,11 +115,11 @@ export default defineNuxtConfig({
|
|
|
115
115
|
|
|
116
116
|
Available module options are:
|
|
117
117
|
|
|
118
|
-
| Option | Default | Description
|
|
119
|
-
| ------------------- | --------- |
|
|
120
|
-
| `enabled` | `true` | Set to `false` to skip runtime registration.
|
|
121
|
-
| `applyInlineStyles` | `true` | Apply validated LMX presentation attributes as inline styles.
|
|
122
|
-
| `evaluate` | See above | Fallbacks for missing variables and invalid conditional rules.
|
|
118
|
+
| Option | Default | Description |
|
|
119
|
+
| ------------------- | --------- | -------------------------------------------------------------------- |
|
|
120
|
+
| `enabled` | `true` | Set to `false` to skip runtime registration and module dependencies. |
|
|
121
|
+
| `applyInlineStyles` | `true` | Apply validated LMX presentation attributes as inline styles. |
|
|
122
|
+
| `evaluate` | See above | Fallbacks for missing variables and invalid conditional rules. |
|
|
123
123
|
|
|
124
124
|
The same `applyInlineStyles` and `evaluate` options can be overridden for an individual
|
|
125
125
|
`LoopsRenderer` with its `config` prop. `debug` is a per-renderer option and is intended for
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -72,7 +72,7 @@ function moduleSetup(MODULE_NAME, options, log) {
|
|
|
72
72
|
return { start, end, isEnabled };
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
const version = "0.2.
|
|
75
|
+
const version = "0.2.3";
|
|
76
76
|
|
|
77
77
|
const MODULE_KEY = "loopsRenderer";
|
|
78
78
|
const MODULE_NAME = resolveModuleName(MODULE_KEY);
|
|
@@ -88,7 +88,7 @@ const module$1 = defineNuxtModule({
|
|
|
88
88
|
defaults: {
|
|
89
89
|
// applyInlineStyles: true
|
|
90
90
|
},
|
|
91
|
-
moduleDependencies: {
|
|
91
|
+
moduleDependencies: (nuxt) => nuxt.options.loopsRenderer === false || nuxt.options.loopsRenderer?.enabled === false ? {} : {
|
|
92
92
|
"@nuxt/ui": {
|
|
93
93
|
version: ">=4.0.0"
|
|
94
94
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onderwijsin/nuxt-loops-renderer",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Nuxt module for rendering Loops LMX email content.",
|
|
5
5
|
"homepage": "https://github.com/onderwijsin/nuxt-modules#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"scripts": {
|
|
54
54
|
"build": "nuxt-module-build build",
|
|
55
55
|
"typecheck": "tsc --noEmit --project tsconfig.json",
|
|
56
|
-
"dev": "
|
|
56
|
+
"dev": "pnpm run dev:prepare && nuxt dev playground",
|
|
57
57
|
"dev:build": "nuxt build playground",
|
|
58
58
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground"
|
|
59
59
|
}
|