mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-10-12 23:33:55 +00:00
Preserve shortcode rendering, normalize options, bundle the player locally, and add reproducible packaging and WordPress integration tests.
8 lines
312 B
JavaScript
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') },
|
|
};
|