mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
18 lines
439 B
JavaScript
18 lines
439 B
JavaScript
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
|
|
const path = require( 'path' );
|
|
|
|
module.exports = {
|
|
...defaultConfig,
|
|
cache: false,
|
|
...{
|
|
entry: {
|
|
index: path.resolve( process.cwd(), 'resources/js', 'index.js' ),
|
|
switchSettingsUi: path.resolve(
|
|
process.cwd(),
|
|
'resources/js',
|
|
'switchSettingsUi.js'
|
|
),
|
|
style: path.resolve( process.cwd(), 'resources/css', 'style.scss' ),
|
|
},
|
|
},
|
|
};
|