chore: remove console.log
This commit is contained in:
1
index.ts
1
index.ts
@@ -5,7 +5,6 @@ export default function PoLoader() {
|
|||||||
name: 'po-loader',
|
name: 'po-loader',
|
||||||
async transform(source: string, id: string) {
|
async transform(source: string, id: string) {
|
||||||
const poRegEx = /\.po$/;
|
const poRegEx = /\.po$/;
|
||||||
console.log(id);
|
|
||||||
if (poRegEx.test(id)) {
|
if (poRegEx.test(id)) {
|
||||||
const match = source.match(/Language: (\w+)/)
|
const match = source.match(/Language: (\w+)/)
|
||||||
const lang = match ? match[1] : 'en';
|
const lang = match ? match[1] : 'en';
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@arnef/vite-plugin-gettext-loader",
|
"name": "@arnef/vite-plugin-gettext-loader",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
Reference in New Issue
Block a user