Rename frontend.tsx file to frontend.ts
The file doesn't use any jsx syntax. [MAILPOET-3920]
This commit is contained in:
committed by
Veljko V
parent
25c96f8080
commit
47423f2e22
@@ -1,7 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* External dependencies
|
* External dependencies
|
||||||
*/
|
*/
|
||||||
/* eslint-disable react/react-in-jsx-scope */
|
|
||||||
import { registerCheckoutBlock } from '@woocommerce/blocks-checkout';
|
import { registerCheckoutBlock } from '@woocommerce/blocks-checkout';
|
||||||
|
|
||||||
/**
|
/**
|
@@ -448,7 +448,7 @@ const marketingOptinBlock = Object.assign({}, wpScriptConfig, {
|
|||||||
'marketing-optin-block-frontend': path.resolve(
|
'marketing-optin-block-frontend': path.resolve(
|
||||||
process.cwd(),
|
process.cwd(),
|
||||||
'assets/js/src/marketing_optin_block',
|
'assets/js/src/marketing_optin_block',
|
||||||
'frontend.tsx'
|
'frontend.ts'
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
Reference in New Issue
Block a user