@newlogic-digital/core 4.1.0 → 4.1.1
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/index.js +2 -2
- package/package.json +6 -6
package/index.js
CHANGED
|
@@ -113,7 +113,7 @@ const plugin = async (options = {}) => {
|
|
|
113
113
|
optionalPlugins.push({
|
|
114
114
|
name: '@newlogic-digital/core:postcss-custom-properties',
|
|
115
115
|
transform(code, id) {
|
|
116
|
-
if (id.endsWith('.css') && options.mode === 'emails') {
|
|
116
|
+
if (id.split('?')[0].endsWith('.css') && options.mode === 'emails') {
|
|
117
117
|
return processPostcssCustomProperties(code)
|
|
118
118
|
}
|
|
119
119
|
},
|
|
@@ -191,7 +191,7 @@ const plugin = async (options = {}) => {
|
|
|
191
191
|
|
|
192
192
|
userConfig.css.lightningcss = Object.assign({
|
|
193
193
|
targets: browserslistToTargets(browserslist()),
|
|
194
|
-
|
|
194
|
+
include: (options.mode === 'emails') ? LightningCssFeatures.Nesting : 0,
|
|
195
195
|
drafts: {
|
|
196
196
|
customMedia: true,
|
|
197
197
|
},
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newlogic-digital/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.1.
|
|
4
|
+
"version": "4.1.1",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"newlogic-core": "./bin/newlogic-core.js"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@minify-html/node": "^0.18.1",
|
|
21
|
-
"@newlogic-digital/vite-plugin-heroicons": "^1.3.
|
|
21
|
+
"@newlogic-digital/vite-plugin-heroicons": "^1.3.1",
|
|
22
22
|
"@stylistic/eslint-plugin": "^5.10",
|
|
23
23
|
"@stylistic/stylelint-config": "^5.0.0",
|
|
24
24
|
"@vituum/vite-plugin-css-inline": "^2.1.0",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"browserslist": "^4.28.2",
|
|
28
28
|
"browserslist-to-esbuild": "^2.1.1",
|
|
29
29
|
"lightningcss": "^1.32.0",
|
|
30
|
-
"npm-check-updates": "^
|
|
31
|
-
"oxlint": "^1.
|
|
30
|
+
"npm-check-updates": "^21.0.2",
|
|
31
|
+
"oxlint": "^1.60.0",
|
|
32
32
|
"postcss-custom-properties": "^15.0.1",
|
|
33
33
|
"stylelint-config-standard": "^40.0.0",
|
|
34
34
|
"vituum": "^2.0.1"
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@tailwindcss/vite": "^4.2.2",
|
|
51
|
-
"@types/node": "^25.
|
|
51
|
+
"@types/node": "^25.6",
|
|
52
52
|
"@vituum/vite-plugin-twig": "^2.0.1",
|
|
53
|
-
"rolldown": "^1.0.0-rc.
|
|
53
|
+
"rolldown": "^1.0.0-rc.16",
|
|
54
54
|
"typescript": "^6"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|