| @@ -2,12 +2,19 @@ | ||
| 2 | 2 | const CopyPlugin = require('copy-webpack-plugin'); |
| 3 | 3 | |
| 4 | 4 | module.exports = { |
| 5 | 5 | ...defaultConfig, |
| 6 | + devServer: { | |
| 7 | + ...defaultConfig.devServer, | |
| 8 | + host: 'wordpress.test', | |
| 9 | + }, | |
| 6 | 10 | plugins: [ |
| 7 | 11 | ...defaultConfig.plugins, |
| 8 | 12 | new CopyPlugin({ |
| 9 | - patterns: [{ from: 'node_modules/shiki', to: 'shiki' }], | |
| 13 | + patterns: [ | |
| 14 | + { from: 'node_modules/shiki', to: 'shiki' }, | |
| 15 | + { from: 'src/fonts', to: 'fonts' }, | |
| 16 | + ], | |
| 10 | 17 | }), |
| 11 | 18 | ], |
| 12 | 19 | experiments: { |
| 13 | 20 | asyncWebAssembly: true, |