@@ -1,6 +1,6 @@
declare global {
interface Window {
- AMF_METRIKA: any; // Replace 'any' with the actual type of your custom property.
+ AMF: any; // Replace 'any' with the actual type of your custom property.
}
@@ -1,5 +1,5 @@
/**
- * ADMEFINE METRIKA
+ * ADMEFINE.JS
* 2023
* 0.0.1
*/
@@ -18,8 +18,8 @@ const init = (props: IInitProps) => {
initUTM();
-window.AMF_METRIKA = window.AMF_METRIKA || {};
-window.AMF_METRIKA = {
+window.AMF = window.AMF || {};
+window.AMF = {
init,
methods: {
sendLead,
@@ -6,7 +6,7 @@ module.exports = (env, argv) => {
return {
entry: './src/index.ts',
output: {
- filename: 'amf_metrks.min.js',
+ filename: 'amf.min.js',
path: path.resolve(__dirname, 'dist'),
},