Update dependency @symfony/webpack-encore to v4.7.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
@symfony/webpack-encore | devDependencies | minor | 4.6.1 -> 4.7.0 |
Release Notes
symfony/webpack-encore (@symfony/webpack-encore)
v4.7.0
Features
-
#1284 Improve ESLint and Babel help messages, when enabling ESLint integration (@Kocal)
-
#1285 Add support for PNPM for installation commands (@Kocal)
Enabling JSX support for Vue 3 is done with the Encore.enableVueLoader()
:
Encore.enableVueLoader(() => {}, {
useJsx: true,
version: 3,
});
If you don't have a custom Babel configuration, then you're all set!
But if you do, you may need to adjust it
to add @vue/babel-plugin-jsx
plugin to your Babel configuration:
// babel.config.js
module.exports = {
plugins: [
'@​vue/babel-plugin-jsx'
]
};
Deprecations
Internal
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.