Last active
May 9, 2021 04:57
-
-
Save tomlagier/a3b23aa5309f44319a68dca55adbfbaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { WordpressShortcodeWebpackPlugin } from 'wordpress-shortcode-webpack-plugin'; | |
export default { | |
entry: { | |
app: './src/index.js', | |
}, | |
output: { | |
filename: '[name].[hash].js', | |
}, | |
plugins: [ | |
new WordpressShortcodeWebpackPlugin({ | |
wordpressPluginName: 'my-awesome-plugin', | |
headerFields: { | |
author: 'Tom Lagier', | |
description: 'An awesome plugin that does many cool things', | |
version: '1.2.3' | |
} | |
}), | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment