geno/wp-content/plugins/astra-sites/webpack.config.js

13 lines
280 B
JavaScript
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
const RtlCssPlugin = require( 'rtlcss-webpack-plugin' );
const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
module.exports = {
...defaultConfig,
plugins: [
...defaultConfig.plugins,
new RtlCssPlugin( {
filename: `[name]-rtl.css`,
} ),
],
};