Skip to content

Commit c4a1b7d

Browse files
authored
Merge pull request #308 from bcgov/chore/react-library-rollup-script-updates
Update React library rollup script to ensure dist code freshness
2 parents d787ce3 + eef69bb commit c4a1b7d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/react-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.5",
44
"type": "module",
55
"scripts": {
6-
"rollup": "rollup -c --bundleConfigAsCjs",
6+
"rollup": "rm -rf dist && rollup -c --bundleConfigAsCjs",
77
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
88
"storybook-dev": "storybook dev -p 6006",
99
"storybook-build": "storybook build",

packages/react-components/src/components/Footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
import { SvgBcLogo } from "..";
3+
import SvgBcLogo from "../SvgBcLogo";
44

55
import "./Footer.css";
66

packages/react-components/src/components/Header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22

3-
import { SvgBcLogo } from "..";
3+
import SvgBcLogo from "../SvgBcLogo";
44

55
import "./Header.css";
66

0 commit comments

Comments
 (0)