Skip to content

Commit bb735ff

Browse files
committed
Replace babel-preset-razzle with @plone/babel-preset-razzle
1 parent ba80143 commit bb735ff

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ public-hoist-pattern[]=*eslint*
22
public-hoist-pattern[]=*prettier*
33
public-hoist-pattern[]=*stylelint*
44
public-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

.storybook/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const path = require('path');
44

55
const projectRootPath = path.resolve('.');
66
const 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');
1010
const razzleConfig = require(path.join(projectRootPath, 'razzle.config.js'));
1111

1212
const SVGLOADER = {

packages/volto-home-assistant/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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]

packages/volto-home-assistant/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.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

0 commit comments

Comments
 (0)