@udixio/theme 0.3.1 → 0.3.2
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.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -3112,7 +3112,7 @@ class TailwindImplPlugin extends PluginImplAbstract {
|
|
|
3112
3112
|
if (!tailwindCssPath) {
|
|
3113
3113
|
throw new Error('Tailwind plugin not found. Please use it first. (@plugin "@udixio/tailwind")');
|
|
3114
3114
|
}
|
|
3115
|
-
const searchPattern = /@import 'tailwindcss';/;
|
|
3115
|
+
const searchPattern = /@import ["']tailwindcss["'];/;
|
|
3116
3116
|
const replacement = `@import 'tailwindcss';\n@import "./udixio.css";`;
|
|
3117
3117
|
if (!getFileContent(tailwindCssPath, /@import\s+"\.\/udixio\.css";/)) {
|
|
3118
3118
|
replaceFileContent(tailwindCssPath, searchPattern, replacement);
|
package/index.esm.js
CHANGED
|
@@ -3091,7 +3091,7 @@ class TailwindImplPlugin extends PluginImplAbstract {
|
|
|
3091
3091
|
if (!tailwindCssPath) {
|
|
3092
3092
|
throw new Error('Tailwind plugin not found. Please use it first. (@plugin "@udixio/tailwind")');
|
|
3093
3093
|
}
|
|
3094
|
-
const searchPattern = /@import 'tailwindcss';/;
|
|
3094
|
+
const searchPattern = /@import ["']tailwindcss["'];/;
|
|
3095
3095
|
const replacement = `@import 'tailwindcss';\n@import "./udixio.css";`;
|
|
3096
3096
|
if (!getFileContent(tailwindCssPath, /@import\s+"\.\/udixio\.css";/)) {
|
|
3097
3097
|
replaceFileContent(tailwindCssPath, searchPattern, replacement);
|