@newlogic-digital/core 4.0.0-next.12 → 4.0.0-next.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/index.js +3 -3
- package/package.json +3 -3
- package/types/index.d.ts +1 -1
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import os from 'node:os'
|
|
|
3
3
|
import { resolve, join } from 'node:path'
|
|
4
4
|
import vituum from 'vituum'
|
|
5
5
|
import latte from '@vituum/vite-plugin-latte'
|
|
6
|
-
import
|
|
6
|
+
import cssInline from '@vituum/vite-plugin-css-inline'
|
|
7
7
|
import send from '@vituum/vite-plugin-send'
|
|
8
8
|
import { getPackageInfo, deepMergeWith } from 'vituum/utils/common.js'
|
|
9
9
|
import browserslistToEsbuild from 'browserslist-to-esbuild'
|
|
@@ -42,7 +42,7 @@ const defaultOptions = {
|
|
|
42
42
|
paths: ['./src/styles/*/**', '!./src/styles/emails/*', './src/scripts/*/**'],
|
|
43
43
|
},
|
|
44
44
|
},
|
|
45
|
-
|
|
45
|
+
cssInline: {
|
|
46
46
|
paths: ['src/pages/email'],
|
|
47
47
|
postcss: {
|
|
48
48
|
globalData: {
|
|
@@ -115,7 +115,7 @@ const plugin = async (options = {}) => {
|
|
|
115
115
|
vituum(options.vituum),
|
|
116
116
|
...tailwindcssPlugin,
|
|
117
117
|
...templatesPlugins,
|
|
118
|
-
|
|
118
|
+
cssInline(options.cssInline),
|
|
119
119
|
send(options.send),
|
|
120
120
|
]
|
|
121
121
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newlogic-digital/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-next.
|
|
4
|
+
"version": "4.0.0-next.13",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "New Logic Studio s.r.o.",
|
|
7
7
|
"description": "Set of tools that can be used to create modern web applications",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@minify-html/node": "^0.18.1",
|
|
16
|
-
"@vituum/vite-plugin-
|
|
16
|
+
"@vituum/vite-plugin-css-inline": "^2.0.0-next.1",
|
|
17
17
|
"@vituum/vite-plugin-latte": "^2.0.0-next.4",
|
|
18
18
|
"@vituum/vite-plugin-send": "^2.0.0-next.4",
|
|
19
19
|
"browserslist": "^4.28.1",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"./types": "./types/*"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
|
-
"node": "^
|
|
46
|
+
"node": "^24.0.0 || >=25.0.0"
|
|
47
47
|
},
|
|
48
48
|
"repository": {
|
|
49
49
|
"type": "git",
|
package/types/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface PluginUserConfig {
|
|
|
12
12
|
codeSplitting?: import('rolldown').OutputOptions['codeSplitting']
|
|
13
13
|
vituum?: import('vituum').UserConfig,
|
|
14
14
|
css?: import('vite').CSSOptions
|
|
15
|
-
|
|
15
|
+
cssInline?: import('@vituum/vite-plugin-css-inline').PluginUserConfig
|
|
16
16
|
send?: import('@vituum/vite-plugin-send').PluginUserConfig
|
|
17
17
|
tailwindcss?: import('@vituum/vite-plugin-tailwindcss').PluginUserConfig
|
|
18
18
|
latte?: import('@vituum/vite-plugin-latte').PluginUserConfig
|