@hyphen/hyphen-components 7.3.4 → 7.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyphen/hyphen-components",
3
- "version": "7.3.4",
3
+ "version": "7.3.6",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "@hyphen"
@@ -14,7 +14,7 @@
14
14
  "src"
15
15
  ],
16
16
  "scripts": {
17
- "build": "cross-env IS_PUBLISHING=true tsup && node scripts/create-cjs-shim.js && cross-env IS_PUBLISHING=true webpack --config webpack.config.js",
17
+ "build": "cross-env IS_PUBLISHING=true tsup && cross-env IS_PUBLISHING=true webpack --config webpack.config.js && node scripts/create-cjs-shim.js",
18
18
  "build-storybook": "storybook build",
19
19
  "build-storybook-docs": "storybook build --docs",
20
20
  "storybook-docs": "storybook dev --docs",
@@ -120,6 +120,7 @@
120
120
  "jest-preview": "^0.3.1",
121
121
  "mini-css-extract-plugin": "^2.9.1",
122
122
  "postcss-loader": "^7.3.4",
123
+ "postcss-modules": "^6.0.0",
123
124
  "react": "^18.3.1",
124
125
  "react-dom": "^18.3.1",
125
126
  "react-is": "^18.3.1",
@@ -0,0 +1,4 @@
1
+ // This file is used by webpack to gather all component CSS module styles
2
+ // into a single dist/css/index.css file.
3
+ const ctx = require.context('../components', true, /\.module\.scss$/);
4
+ ctx.keys().forEach(ctx);