# code-block-pro/1.13.0/webpack.config.js

Code Block Pro – Beautiful Syntax Highlighting, version 1.13.0. 19 lines.

- Page: https://pluginprobe.com/plugins/code-block-pro/1.13.0/code/webpack.config.js
- Raw: https://pluginprobe.com/plugins/code-block-pro/1.13.0/raw/webpack.config.js
- Modified: 2022-09-05T04:31:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/code-block-pro/1.13.0/code/webpack.config.js#L10-L20`.

```javascript
const defaultConfig = require('@wordpress/scripts/config/webpack.config');
const CopyPlugin = require('copy-webpack-plugin');

module.exports = {
    ...defaultConfig,
    plugins: [
        ...defaultConfig.plugins,
        new CopyPlugin({
            patterns: [
                { from: 'node_modules/shiki', to: 'shiki' },
                { from: 'src/fonts', to: 'fonts' },
            ],
        }),
    ],
    experiments: {
        asyncWebAssembly: true,
    },
};

```
