Files
wp-asciiplayer/webpack.config.cjs
T
LamGC f04600c37b Refresh player with native block editor preview and local assets
Preserve shortcode rendering, normalize options, bundle the player locally,
and add reproducible packaging and WordPress integration tests.
2026-10-12 17:56:08 +08:00

8 lines
312 B
JavaScript

const path = require('path');
const config = require('@wordpress/scripts/config/webpack.config');
module.exports = {
...config,
entry: { index: path.resolve(__dirname, 'src/index.js'), view: path.resolve(__dirname, 'src/view.js') },
output: { ...config.output, path: path.resolve(__dirname, 'build') },
};