PluginProbe
Pay with Vipps and MobilePay for WooCommerce / 5.4.0
Pay with Vipps and MobilePay for WooCommerce v5.4.0
6.2.2 6.2.1 6.2.0 6.1.10 6.1.9 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1.0 6.0.5 6.0.4 6.0.3 6.0.2 6.0.1 6.0.0 5.4.3 5.4.2 5.4.1 5.4.0 5.3.4 All 184 releases
woo-vipps / payment / src / admin / blocks / webpack.config.js

webpack.config.js in Pay with Vipps and MobilePay for WooCommerce 5.4.0, at payment/src/admin/blocks/webpack.config.js

19 lines 566 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
2 const WooCommerceDependencyExtractionWebpackPlugin = require( '@woocommerce/dependency-extraction-webpack-plugin' );
3 const path = require( 'path' );
4
5 module.exports = {
6 ...defaultConfig,
7 output: {
8 path: path.resolve(__dirname, '../../../admin/blocks/dist'),
9 filename: '[name].js',
10 },
11 plugins: [
12 ...defaultConfig.plugins.filter(
13 ( plugin ) =>
14 plugin.constructor.name !== 'DependencyExtractionWebpackPlugin'
15 ),
16 new WooCommerceDependencyExtractionWebpackPlugin(),
17 ],
18 };
19