mirror of
https://github.com/LamGC/wp-asciiplayer.git
synced 2026-10-12 23:33:55 +00:00
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.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
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') },
|
||||
};
|
||||
Reference in New Issue
Block a user