chore: remove console.log

This commit is contained in:
2022-05-02 15:44:11 +02:00
parent fcdbf59315
commit 67fc201de0
2 changed files with 1 additions and 2 deletions

View File

@@ -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';

View File

@@ -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",