mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-26 01:14:19 +08:00
16 lines
369 B
JavaScript
16 lines
369 B
JavaScript
/**
|
|
* Shared webpack aliases for all modules.
|
|
*
|
|
* This allows modules to use clean import paths like:
|
|
* - import { registerSetting } from '@settings/extensions';
|
|
* - import { SettingsBlock } from '@settings/components';
|
|
*/
|
|
|
|
const path = require( 'path' );
|
|
|
|
module.exports = {
|
|
'@settings': path.resolve(
|
|
__dirname,
|
|
'modules/ppcp-settings/resources/js'
|
|
),
|
|
};
|