-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fixes patches and improves react and vue output target.
- Loading branch information
1 parent
c6e231b
commit bdaa7df
Showing
10 changed files
with
134 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const fs = require('fs') | ||
const filename = './out/react.ts' | ||
|
||
fs.readFile(filename, 'utf8', function (err, data) { | ||
if (err) { | ||
return console.log(err) | ||
} | ||
|
||
const result = data | ||
.replace( | ||
"import type { JSX } from '../dist/components'", | ||
"import type { JSX } from '../dist/types/components'" | ||
) | ||
.replace( | ||
"import { defineCustomElements } from '../dist/components/dist/loader/index.js';", | ||
"import { defineCustomElements } from '../dist/loader/index.js';" | ||
) | ||
|
||
fs.writeFile(filename, result, 'utf8', function (err) { | ||
if (err) return console.log(err) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* eslint-disable @typescript-eslint/no-var-requires */ | ||
const fs = require('fs') | ||
const filename = './out/vue.ts' | ||
|
||
fs.readFile(filename, 'utf8', function (err, data) { | ||
if (err) { | ||
return console.log(err) | ||
} | ||
|
||
const result = data | ||
.replace( | ||
"import type { JSX } from '../dist/components'", | ||
"import type { JSX } from '../dist/types/components'" | ||
) | ||
.replace( | ||
"import { defineCustomElements } from '../dist/components/dist/loader/index.js';", | ||
"import { defineCustomElements } from '../dist/loader/index.js';" | ||
) | ||
|
||
fs.writeFile(filename, result, 'utf8', function (err) { | ||
if (err) return console.log(err) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bdaa7df
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
liquid – ./
liquid-uxsd.vercel.app
liquid-git-main-uxsd.vercel.app
liquid-oxygen.vercel.app