mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-05 20:41:43 -07:00
fix: vite-plugin-generate-locales.js
This commit is contained in:
parent
beec9d7d78
commit
ba4e5f2001
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue