mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2024-09-20 06:56:05 +08:00
fix: vite-plugin-generate-locales.js
This commit is contained in:
parent
beec9d7d78
commit
ba4e5f2001
|
@ -1,5 +1,8 @@
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
import * as url from "url";
|
||||||
|
|
||||||
|
const __dirname = url.fileURLToPath(new URL(".", import.meta.url));
|
||||||
|
|
||||||
export default function GenerateLocalesPlugin() {
|
export default function GenerateLocalesPlugin() {
|
||||||
return {
|
return {
|
Loading…
Reference in a new issue