@newlogic-digital/core 3.0.0-next.6 → 3.0.0

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.
Files changed (2) hide show
  1. package/index.js +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -86,6 +86,7 @@ const plugin = async (options = {}) => {
86
86
  }
87
87
 
88
88
  if (options.css.transformer === 'lightningcss') {
89
+ // @ts-ignore
89
90
  const tailwindcss = (await import('@tailwindcss/vite')).default
90
91
 
91
92
  tailwindcssPlugin.push(tailwindcss(options.tailwindcss))
@@ -120,6 +121,7 @@ const plugin = async (options = {}) => {
120
121
  defaultInput = [
121
122
  './src/pages/**/*.{json,latte,twig,liquid,njk,hbs,pug,html}',
122
123
  '!./src/pages/**/*.{latte,twig,liquid,njk,hbs,pug,html}.json',
124
+ '!./src/pages/email/**/*',
123
125
  './src/styles/*.{css,pcss,scss,sass,less,styl,stylus}',
124
126
  './src/scripts/*.{js,ts,mjs}'
125
127
  ]
@@ -145,7 +147,7 @@ const plugin = async (options = {}) => {
145
147
 
146
148
  userConfig.css.lightningcss = Object.assign({
147
149
  targets: browserslistToTargets(browserslist()),
148
- exclude: LightningCssFeatures.Nesting,
150
+ exclude: (options.mode !== 'emails') ? LightningCssFeatures.Nesting : 0,
149
151
  drafts: {
150
152
  customMedia: true
151
153
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "3.0.0-next.6",
4
+ "version": "3.0.0",
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",