mistic100 / jQuery-QueryBuilder

jQuery plugin offering an interface to create complex queries
https://querybuilder.js.org
MIT License
1.67k stars 552 forks source link

Fix i18n wrapper to support CommonJS that was forgotten in d552fde #968

Open xhaggi opened 1 year ago

xhaggi commented 1 year ago

The i18n .wrapper.js was not updated to support CommonJS in d552fde. Without you can't import a translation file in a CommonJS environment.

Merge request checklist

xhaggi commented 1 week ago

@mistic100 it would be nice to see this MR merged for the next patch release. At the moment you can't import the i18n files e.g. import 'jQuery-QueryBuilder/dist/i18n/query-builder.de.js';