diff --git a/README.md b/README.md index d85b335..ce9322e 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,16 @@ module.exports = { dist: './path/to/dist', public: '/path/to/dist', + /** + * Define which target to use when creating the bundle. + * An array of targets will create a bundle for each target. + * Defaults to `legacy`. + * + * @type {'modern'|'legacy'|Array<'modern'|'legacy'>} + * @optional + */ + target: ['modern', 'legacy'], + /** * Analyze the bundle with the WebpackBundleAnalyzer plugin. * @type {Boolean}