File tree Expand file tree Collapse file tree
packages/volto-home-assistant Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ public-hoist-pattern[]=*eslint*
22public-hoist-pattern[] = *prettier*
33public-hoist-pattern[] = *stylelint*
44public-hoist-pattern[] = *cypress*
5- public-hoist-pattern[] = *process*
6- public-hoist-pattern[] = *parcel*
5+ public-hoist-pattern[] = babel-plugin-react-intl
6+ public-hoist-pattern[] = *babel-preset-razzle
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ const path = require('path');
44
55const projectRootPath = path . resolve ( '.' ) ;
66const lessPlugin = require ( '@plone/volto/webpack-plugins/webpack-less-plugin' ) ;
7- const scssPlugin = require ( 'razzle-plugin -scss' ) ;
7+ const scssPlugin = require ( '@plone/babel-preset- razzle/webpack-plugins/webpack -scss-plugin ' ) ;
88
9- const createConfig = require ( 'razzle/config/createConfigAsync.js' ) ;
9+ const createConfig = require ( '@plone/ razzle/config/createConfigAsync.js' ) ;
1010const razzleConfig = require ( path . join ( projectRootPath , 'razzle.config.js' ) ) ;
1111
1212const SVGLOADER = {
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515
1616## [ Unreleased]
1717
18+ - Replace babel-preset-razzle with @plone/babel-preset-razzle [ fosten]
1819- Add footer links to CHANGELOG.md [ fosten]
1920- Add Dependabot [ fosten]
2021- Bump Volto from 18.10.1 to 19.0.0-alpha.26 [ fosten]
Original file line number Diff line number Diff line change 11module . exports = function ( api ) {
22 api . cache ( true ) ;
3- const presets = [ 'razzle' ] ;
3+ const presets = [ '@plone/ razzle' ] ;
44 const plugins = [
55 [
66 'react-intl' , // React Intl extractor, required for the whole i18n infrastructure to work
You can’t perform that action at this time.
0 commit comments