Skip to content

Commit

Permalink
fix css using tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-devis-agullo committed Dec 10, 2023
1 parent 780988e commit ce0d01b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/oc-vite-compiler/lib/viteView.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function compileView(options) {
x => x.fileName.endsWith('.css')
);
const cssStyles = cssAssets
.map(x => x.source.replace(/\r?\n/g, '') ?? '')
.map(x => x.source.replace(/\r?\n|\t/g, '') ?? '')
.join(' ')
.replace(/'/g, '"');
const bundleHash = hashBuilder.fromString(bundle);
Expand Down
2 changes: 1 addition & 1 deletion packages/oc-vite-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oc-vite-compiler",
"version": "2.1.2",
"version": "2.1.3",
"description": "OC-Vite-Compiler",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit ce0d01b

Please sign in to comment.