mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-03 13:47:55 +01:00
chore: update prettier workers version
This commit is contained in:
@@ -16,12 +16,12 @@ function handleMessage(message) {
|
|||||||
async function handleFormatMessage(message) {
|
async function handleFormatMessage(message) {
|
||||||
if (!globalThis.prettier) {
|
if (!globalThis.prettier) {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
import('https://unpkg.com/prettier@3.3.3/standalone.js'),
|
import('https://unpkg.com/prettier@3.5.0/standalone.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/html.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/html.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/postcss.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/postcss.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/babel.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/babel.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/estree.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/estree.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/typescript.js')
|
import('https://unpkg.com/prettier@3.5.0/plugins/typescript.js')
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,12 +16,12 @@ function handleMessage(message) {
|
|||||||
async function handleFormatMessage(message) {
|
async function handleFormatMessage(message) {
|
||||||
if (!globalThis.prettier) {
|
if (!globalThis.prettier) {
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
import('https://unpkg.com/prettier@3.3.3/standalone.js'),
|
import('https://unpkg.com/prettier@3.5.0/standalone.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/babel.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/babel.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/estree.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/estree.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/html.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/html.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/markdown.js'),
|
import('https://unpkg.com/prettier@3.5.0/plugins/markdown.js'),
|
||||||
import('https://unpkg.com/prettier@3.3.3/plugins/typescript.js')
|
import('https://unpkg.com/prettier@3.5.0/plugins/typescript.js')
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user