geno/wp-content/plugins/astra-sites/webpack.config.js
2024-02-01 11:54:18 +00:00

12 lines
280 B
JavaScript

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`,
} ),
],
};